Using SHELL to get a list of processes

J. Landman Gay jacque at hyperactivesw.com
Thu Feb 5 14:44:42 EST 2009


Hugh Senior wrote:
> Duh!
> 
> I just found TASKLIST which works... get shell("TASKLIST").
> 
> And the processID returns the id of the app.
> 
> So I think I have got the necessary bits to check for multiple instances
> now.

You might want to look at the "relaunch" command instead of using shell. 
It is specifically designed to catch multiple app instances and redirect 
to the one that was running first. No shell command necessary.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list