A few ideas here...

1/ At some point Director's internal path referencing may get screwed up so
it is looking at a different path behind the scenes. This could be it if
Director is giving you the error message

2/ Acrobat uses an MDI design (Multiple Document Interface) and sometimes
has problems loading a new file once the base program is already open. This
may be it if Acrobat is giving the error message.

3/ The use of the "\" backslash character in your path notes that you are
using Windows. Note that Macs use the ":" delimiter in file paths, not the
"\". This may also be the problem, but I will assume that you are authoring
for the PC only.

With this in mind, try the following script instead:

on mouseUp
     myPDF = the applicationPath & "\test.pdf"

     open myPDF with "c:\program\adobe\acrobat 4.0\acrobat\Acrobat.exe"
end

Also, be aware that the location of Acrobat is gonna vary between machines,
even if it is installed. You may be better off using some kind of PDF Xtra
instead. The board will know where to get one from.

LePhuronn


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]

Reply via email to