Using SHELL to get a list of processes

J. Landman Gay jacque at
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
HyperActive Software           |

More information about the Use-livecode mailing list