launch

Sarah Reichelt sarahr at genesearch.com.au
Thu Jun 24 19:24:55 EDT 2004


Tuviah reports that this problem has been fixed for OS X, but before 
that, I used this workaround before trying the "launch" command:

   if the openProcesses contains appPath then
     kill process appPath
   end if

where "appPath" is a variable containing the complete path to the 
application you wish to launch. Maybe this would work in Windows as 
well? In OS X, once Rev had launched an app, it wouldn't re-launch it 
even if the application had been quit, however this seems to be a 
workable solution and on OS X it does not actually close the 
application before re-launching.

Cheers,
Sarah
sarahr at genesearch.com.au
http://www.troz.net/Rev/

On 24 Jun 2004, at 8:20 pm, yoy wrote:

> Richard,
>
> There may be a mechanism to launch a doc to an already open app on 
> OS/X with
> applescript, etc., but no way on W2k.
>
snip

> But if the app is already running it doesn't work.
>
> I'm very familiar with launch.
>
> The bane of my existence!
>
> Andy



More information about the use-livecode mailing list