Hi Charles,
I used the following:

launch document "myHelp.pdf"

if the result <> empty then

answer the result with "OK"

end if



With the launch document command, the result will be empty unless an error 
occurred. If no error occurs, the default program will launch the document.

So I added the "if" statement at the end to show the error if one occurred.

I hope that helps!

Larry



----- Original Message ----- 
From: "Charles Szasz" <csz...@me.com>
To: <use-livecode@lists.runrev.com>
Sent: Friday, August 08, 2014 9:17 PM
Subject: Re: Using an internal file for PDF for manual


> Larry,
> 
> How did you script this for windows?
> 
> Sent from my iPad
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to