Thanks, David - I've tried it and it works OK. Just one question, though, regarding relative paths, if the user runs the program from his CD, won't this statement confuse the finding of the path (the CDRom won't be C: drive).
I'm asking this because I need to package my project and distribute it on CD.
Regards
Piet
-----Original Message----- From: Authorware Professional [mailto:AWARE@listserv.cc.kuleuven.ac.be]On Behalf Of David Knowles Sent: 13 January 2001 03:03 To: AWARE@listserv.cc.kuleuven.ac.be Subject: RE Another JumpOutReturn problem ...
Piet wrote
>I'm using a JumpOutReturn to jump to an exe file which is not in the same >directory as the Authorware file, and I'm using the following syntax:
>JumpOutReturn(FileLocation^"seasons.exe","","\\mphil\\games")
>However, when this option is chosen when the program is running, a window >appears with the files listed, and asks "where is sesons.exe?".
>What am I doing wrong?
Firstly I assume that the authorware is running from a drive location (Hard Disc, network or CD) and not the web (note on the web then filelocation is your plugin directory).
JumpOutReturn (exec path , documents [, mac bit])
for this example i'm going to assume we are on drive 'c'
if the seasons.exe is at c:\mphil\games\seasons.exe
then use JumpOutReturn("c:\\mphil\\games\\seasons.exe","")
if it is in the mphil\games directory below the authorware then use
JumpOutReturn(FileLocation^"mpil\\games\\seasons.exe","")
david www.LetsLearnAuthorware.com
-- The AWARE List http://www.e-media.nl/aware/index.html
Search the Archives http://www.e-media.nl/aware/search.html
Netiquette: - Use descriptive subject fields - Use subject prefixes (A5 , A5Mac , A5Web , KO , UCD , OT)
-- The AWARE List http://www.e-media.nl/aware/index.html
Search the Archives http://www.e-media.nl/aware/search.html
Netiquette: - Use descriptive subject fields - Use subject prefixes (A5 , A5Mac , A5Web , KO , UCD , OT)