Hi, I am try to open a PDF on a CD-ROM. Here is a code that I am using but,
I don't know where I am going wrong. I must be missing something. Please
help.
on findCD
repeat with x = 67 to 90
set drive = numTochar(x)
set thisPath = string(drive & ":\ASPL.pdf""&findCD)
set myFile = new(xtra "fileio")
openFile(myFile, thisPath, 1)
if status(myfile) = 0 then
set myFile = 0
put drive&":\ASPL.pdf" into mycd
return drive&":"
exit
end if
end repeat
end
[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!]