hey gurus,
I am trying to launch this txt file from my CD. I keep getting an error
message ( The System could not find path specified). Where did I go wrong.
Here is the code I used.
global myCD
on beginSprite
set myCD to CheckDrive("fuzzybunny.txt")
end
--The return would be the drive letter followed by a colon. This handler
begins looking at drive C,
--since the chances of both A and B drive being floppy drives is very high.
on CheckDrive fuzzybunny
repeat with i = 67 to 90
set drive = numTochar( i )
set thisPath = drive & ":\" & fuzzybunny
fxObj = xtra( "FileXtra3"). new()
put fxObj.fx_FileOpenDocument(":\fuzzybunny.txt")
--1
fxObj = 0
return drive&":"
exit
end repeat
end if
end
The dummy txt file (fuzzybunny.txt) is on the CD not in a folder. Could
that be a problem?
Please Help.
Thanks
aaron
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]