PDF question

Roger.E.Eller at sealedair.com Roger.E.Eller at sealedair.com
Wed Sep 15 16:46:52 EDT 2004


On 09/15/2004 at 04:16 PM, James Cass wrote:
> Leston -
> 
> You should be able to use the "open file" command for Windows or Mac.
> Check out the Transcript Dictionary under Help.
> 
> Not sure about Windows, ...

James,

I must compliment you on your embedded AppleScript approach. In Windows, I 
normally use the shell command to open documents. By using shell, it lets 
the OS do the dirty work and simply uses whatever default application is 
defined in the registry for PDF documents. I like it because it is a 
one-liner too.  ;-)

get shell("C:\My Documents\myFavoritePDFdociment.pdf")

Kind Regards,
Roger Eller  <roger.e.eller at sealedair.com>



More information about the use-livecode mailing list