dbTalk Databases Forums  

Open URL Scriptstep

comp.databases.filemaker comp.databases.filemaker


Discuss Open URL Scriptstep in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ursus.kirk
 
Posts: n/a

Default Open URL Scriptstep - 10-31-2005 , 05:57 AM






Win XP
FMP 7 dev

I want to create an assisted search using Google.

I have created an calc that has the full URL as a result

http://www.google.nl/search?q=tower+...nl-NL:official

When I paste this inside the browser (Firefox) it performs the search I
need.
When I use the 'Open URL' scriptstep, it fails. On closer inspection there
appears an extra / within the Firefox. It now says

http://www.google.nl//search?q=tower...nl-NL:official

Extra / after google.nl has been inserted somewhere. Calc is still OK,
pasting the URL is still OK, trying to open through the script fails.

Any idea's why this would be?

--
Keep Well,
Ursus




Reply With Quote
  #2  
Old   
Russell Sheptak
 
Posts: n/a

Default Re: Open URL Scriptstep - 11-01-2005 , 11:00 AM






In article <436606c4$0$27739$dbd4d001 (AT) news (DOT) wanadoo.nl>,
"ursus.kirk" <secret (AT) nowhere (DOT) com> wrote:

Quote:
Win XP
FMP 7 dev

I have created an calc that has the full URL as a result

http://www.google.nl/search?q=tower+...8&oe=utf-8&cli
ent=firefox-a&rls=org.mozilla:nl-NLfficial

appears an extra / within the Firefox. It now says

http://www.google.nl//search?q=tower...-8&oe=utf-8&cl
ient=firefox-a&rls=org.mozilla:nl-NLfficial

Extra / after google.nl has been inserted somewhere. Calc is still OK,
pasting the URL is still OK, trying to open through the script fails.

Any idea's why this would be?
I've seen similar problems with FileMaker 7 Pro Mac for URLs that have a
'~' in them. The '~' gets converted into a slash. Its a bug, and I
filed it into the black hole that is FileMaker bug reports. The correct
URL is saved in the database. Somewhere in the script step it gets
modified.

That said you're URL doesn't seem to have an special characters around
where the extra slash appears. Its clearly an embarassing bug, and I
know of no work around.

Anyone know if this is "fixed" in FileMaker 8?

rus


Reply With Quote
  #3  
Old   
bil hays
 
Posts: n/a

Default Re: Open URL Scriptstep - 11-01-2005 , 11:19 AM



In article <nospam-4A5221.09003901112005 (AT) typhoon (DOT) sonic.net>,
Russell Sheptak <nospam (AT) for (DOT) me> wrote:


Quote:
I've seen similar problems with FileMaker 7 Pro Mac for URLs that have a
'~' in them. The '~' gets converted into a slash. Its a bug, and I
filed it into the black hole that is FileMaker bug reports. The correct
URL is saved in the database. Somewhere in the script step it gets
modified.

That said you're URL doesn't seem to have an special characters around
where the extra slash appears. Its clearly an embarassing bug, and I
know of no work around.

Anyone know if this is "fixed" in FileMaker 8?

Dunno, but you might try using %7E instead of the tilde, see
<http://www.cs.tut.fi/~jkorpela/tilde.html>

--
________________
bil hays
Network Manager
Computer Science


Reply With Quote
  #4  
Old   
Russell Sheptak
 
Posts: n/a

Default Re: Open URL Scriptstep - 11-01-2005 , 03:38 PM



In article <bil_hays-7F0F98.13195201112005 (AT) news1 (DOT) isis.unc.edu>,
bil hays <bil_hays (AT) unc (DOT) edu> wrote:

Quote:
http://www.cs.tut.fi/~jkorpela/tilde.html
nope, that doesn't work either in FM 7 Pro. As the indicated webpage
points out, under RFC 2396 that shouldn't be necessary, In any event
what this script step should be doing is just passing the URL intact to
my web browser (presumably on a macintosh by using an Applescript open
event). It should not be messing with the encoding or escaping anything
in that string.

rus


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.