Paul,
Thanks! I will try you script in one of my projects.
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:
Only within an embedded browser, but it works.
~Roger
On Wed, Feb 3, 2016 at 4:05 PM, Charles Szasz 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
Roger,
How well does printing does the printing work on Windows and Mac?
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:
I have only used the browser method for viewing a PDF in a Windows exe. It
should print though, just as it would from a browser.
On Feb 3, 2016 6:28 PM, "Charles Szasz" wrote:
> Roger,
>
> How well does printing does the printing work on Windows and Mac?
>
> Sent from my iPad
>
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
you could start by embedding the pdf in your app in a custom property and
spit it out as required.
see this post with links to examples.
http://runtime-revolution.278305.n4.nabble.com/Ann-Save-and-Deploy-files-to-and-from-Custom-Properties-td4700387.html