Using an internal file for PDF for manual

larry at larry at
Sat Aug 9 06:14:33 CEST 2014

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!


----- Original Message ----- 
From: "Charles Szasz" <cszasz at>
To: <use-livecode at>
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 at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list