Re: Launching a PDF file stored within a desktop app

2016-02-04 Thread Charles Szasz
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:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Launching a PDF file stored within a desktop app

2016-02-03 Thread Roger Eller
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
>
>
___
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


Re: Launching a PDF file stored within a desktop app

2016-02-03 Thread Charles Szasz
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:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Launching a PDF file stored within a desktop app

2016-02-03 Thread Roger Eller
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
>
> ___
> 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


Re: Launching a PDF file stored within a desktop app

2016-02-03 Thread Paul Hibbert
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  > 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@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

Re: Launching a PDF file stored within a desktop app

2016-02-03 Thread AndyP
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

  



-
Andy Piddock 


My software never has bugs. It just develops random features. 

Copy the new cloud space, get your free 15GB space now:
Get Copy 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Launching-a-PDF-file-stored-within-a-desktop-app-tp4700683p4700706.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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