Gerd Muller Posted October 9, 2002 Posted October 9, 2002 hi all i want to open a local html document and am using the open url step. however, i need to give parameters with the link, so the url is e.g. file://HD/folder/index.html?&123&45&678&9 where 123,45,678,9 are values processed with javascript. unfortunately, only the link without the parameters will be transmitted to the webbrowser, everything behind the "?" is lost. some ideas to get those parameters to the browser?? (without applescript because of platform independance ) thanx
CobaltSky Posted October 9, 2002 Posted October 9, 2002 I take it you're using a Mac? I just tried it using Open URL on a Mac here, and it worked fine and transferred the whole string including the trailing values to Netscape 6.2. It worked as both literal text defined within the script and also as data taken from a text field. What set-up are you using that is giving you the problem? What is the data type of the field etc? Could this be a quirk of the browser you have defined as the default?
Gerd Muller Posted October 10, 2002 Author Posted October 10, 2002 hi ray i'm using mac os x (10.2.1), fm 5.5v2, ie 5.2. i tried the whole thing on a windows xp too: same problems. in the meentime, i tried to open the link from other software (e.g. office), and the same problem occurs: all the stuff behind the "?" are gone. so probably it is not a fm-problem... if the link begins with "http://", then all works fine. but i have to open the file local as "file://", and here the transmit fails. did you really try with a local "file://"-url? also, if you paste the link directly in the browsers link window, the parameters are taken and processed correctly. thanks for further help gerd
CobaltSky Posted October 10, 2002 Posted October 10, 2002 Hi Gerd, I did include the file:// part of the URL - copied and pasted the whole thing from your original message... Attached is the file I knocked together to test it out, plus I've pasted a clip of the screen showing the result after it was transferred to the browser. This was in MacOS Classic.
Recommended Posts
This topic is 8084 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now