Oldrich,

some of the parts of your email message were truncated here. But I think I can help you. when you use RevGoUrl you must use a URL as parameter, you should assemble your parameter like that

put  "/Macintosh HD/Mac temp/myFolder/data/myFile.htm" into tURL
put the URLEncode of tURL into tURL
revGoUrl "file:/" & tURL

You must provide the protocol to be used in the URL (it can be http:// ftp:// binfile:// resfork://), I don't really know if you need the double slashes after the protocol or just a single one when using "file:", you should check this out. Also using the transcript dictionary to probe for comments on revGoUrl will prove to be a nice task!

hope i helped
andre


On Jul 29, 2004, at 3:28 PM, OldÅich Peroutka wrote:

Hi all,

Can anybody help me with the command ?revGoURL?? I?m the beginner with
REVOLUTION (Runrev 2.2 for Mac OS 9.2.2 cz) and I have this problem.

My script is:

on mouseUp
         ....
         ....
-- define myDefaultFolder and myDataFolder
put ?/Macintosh HD/Mac temp/myFolder?  into myDefaultFolder
put myDefaultFolder & ?/data/?  into myDataFolder
-- ?myDataFolder? is /Macintosh HD/Mac temp/myFolder/data/
        .....
        .....
set defaultFolder to myDataFolder
revGoURL myDataFolder & ?myFile.htm?

or only

revGoURL  ?myFile.htm?

end mouseUp

It is one and the same if I write the first or the second way. The
performance (path of file that Internet Explorer is looking for) is other
but the result is the same ? Error in opened ?Internet Explorer? that one
tells me ?the file doesn?t exist?.



The problem is, that all spaces in path (myDataFolder) are replaced with
?%20?. My ?Internet Explorer? is started OK but it is searching file
with path ?/Macintosh%20HD/Mac%20temp/myFolder/data/myFile.htm?.
This path doesn? t exist of course. Why the spaces but only the spaces in
the path of file are replaced with %20. ? %20? is the HEXcode of space.


If I write:

launch myDataFolder  & ?myFile.htm? with path2Explorer &  ?Internet
Explorer?
-- in path2Explorer is path to the programm ?Internet Explorer?.


All is OK. But by this way I have to know where my Internet Explorer on HarDrive is (or alternative browser), path to him.


Thanks all

Oldrich
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


--
Andre Alves Garzia ï 2004 ï BRAZIL
http://studio.soapdog.org

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to