Re: getting application running information.
Re: getting application running information.
- Subject: Re: getting application running information.
- From: Steven Angier <email@hidden>
- Date: Fri, 24 May 2002 21:12:19 +1000
The Macscript.com Library has 20 specifically for managing application
processes. Among them is IsProcessRunning(), which takes a file (path
string, alias or file spec), a creator type, or a name. The function just
"figures it out".
Examples:
IsProcessRunning("ttxt")
IsProcessRunning("Macintosh HD:Applications:SimpleText")
IsProcessRunning("SimpleText")
Similarly, the Library contains functions for determining other things, such
as IsProcessHidden(), IsProcessInFront() and DoesAppExist().
A 30-day free demo is available at <
http://www.macscript.com>
Steven Angier
Macscript.com
On 24/5/02 5:30 PM, "ben" <email@hidden> wrote:
>
Hi$
>
>
How can I check if a specific application is running? I only want to execute
>
a given function of my script if that application is running either in the
>
background or the foreground. How am I to go on about this?
>
>
Ben
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.