Leila Singleton wrote:

> I have the supposedly simple task of creating a button that, when 
> clicked, opens a PDF file (included on the CD) into Acrobat 
> Reader 5.0 (also included on the CD). I have tried everything and
cannot 
> concoct a behavior script that will work <snip>
> 
> 1) NOTHING HAPPENS: when button is clicked, neither the app nor the 
> file opens. The projector just sits there.
> on MouseUp
>       open "lccc_app.pdf" with "Acrobat Reader 5.0"
> 
> 2) NOTHING HAPPENS: when button is clicked, neither the app nor the 
> file opens. The projector just sits there.
> on mouseUp
>    open the moviePath&"@:reader:lccc_app.pdf" with the 
> moviePath&"@:reader:Acrobat Reader 5.0"


It looks like a path issue. In the first case, you're not giving the
path to the pdf. In the second example, you're duplicating--"the
moviePath" and "@" give you the same thing, so you're putting it in
twice.

Try open "@:reader:lccc_app.pdf" with "@:reader:Acrobat Reader 5.0".
(Untested--I'm on Windows). This would also work, probably: open the
moviePath&"reader:lccc_app.pdf" with the moviePath&"reader:Acrobat
Reader 5.0"

If that doesn't work, go to the message window (cmd-m) and type:
put the moviePath
put the moviePath&"reader:lccc_app.pdf"

to see if it gives you the right path. You can do the same with @, I
think.

Cordially,

Kerry Thompson


[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!]

Reply via email to