Charles,

Check out:

launch url

or…

launch [documentPath with] applicationPath

in the dictionary

example script…

on mouseUp
   put the effective fileName of this stack into tPdf
   set the itemDel to slash
   delete item -1 of tPdf
   put "/Support/Instructions.pdf" after tPdf
   launch tPdf with "/Applications/Preview.app"
end mouseUp

…works for me in a standalone if you add a folder ‘Support' containing the 
‘Instructions.pdf' in the ‘Copy Files’ pane of the ’Standalone Application 
Settings’. For this to work in the IDE, make sure the ‘Support’ folder is next 
to the Livecode stack.

Paul

> On 3 Feb 2016, at 13:05, Charles Szasz <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> Has anyone come up with a script to launch a PDF that is a file within a 
> desktop app? I was thinking of including a PDF Help file within an app. 
> 
> Sent from my iPad
> _______________________________________________
> use-livecode mailing list
> [email protected] <mailto:[email protected]>
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to