Launching a PDF file stored within a desktop app

Paul Hibbert paul at
Wed Feb 3 18:50:33 EST 2016


Check out:

launch url


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/"
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.


> On 3 Feb 2016, at 13:05, Charles Szasz <cszasz at <mailto:cszasz at>> 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
> use-livecode at <mailto:use-livecode at>
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list