Here we go again on Launch
Roger Guay
rogerguay at centurytel.net
Mon May 12 11:09:01 EDT 2003
Thanks, Dan. This works very well indeed. Of course I will need to
solve the problem for Windoz later on, but for now at least, this will
do.
Thanks, Roger
> Message: 1
> Date: Sun, 11 May 2003 10:41:34 -0700
> Subject: Re: Here we go again on Launch
> From: Dan Friedman <dan at clearvisiontech.com>
> To: RunRev Mail List <use-revolution at lists.runrev.com>
> Reply-To: use-revolution at lists.runrev.com
>
> Roger,
>
> In this sample, I don't use the launch command to open a file in
> another
> application. I use appleScript to do it. In the following example,
> openThisFile is the full path to the file you want to open. The OS
> will
> open the correct application for you. For this functionality, you
> don't
> need the launch command.
>
>
> On openAExtFile openThisFile
> --MAC ONLY!
> replace "/" with ":" in openThisPDF
> delete char 1 of openThisPDF
> put "tell application" && quote & "Finder" & quote & cr & "open
> file" &&
> quote & openThisFile & quote & cr & "end tell" into appleScriptMessage
>
> do appleScriptMessage as appleScript
> End openAExtFile
>
> Hope that helps...
> -Dan
>
>
More information about the use-livecode
mailing list