Re: applescript-users digest, Vol 2 #1019 - 12 msgs
Re: applescript-users digest, Vol 2 #1019 - 12 msgs
- Subject: Re: applescript-users digest, Vol 2 #1019 - 12 msgs
- From: Phillip Hall <email@hidden>
- Date: Fri, 31 Aug 2001 16:28:51 +1000
OK, this works great for Mac OS 8... But not Mac OS X...
How do I get a list of running processes on Mac OS X?
--
Phillip Hall
Sapphire One PTY LTD
On 31/8/01 3:05 PM, "email@hidden"
<email@hidden> wrote:
>
Run the app, load the script editor, and then execute,
>
>
Tell app "finder"
>
Name of every process
>
End tell
>
>
Then check the result window which will display a list with the name of the
>
running processes. Your application should be in the list. You can then use
>
its name in the following manner,
>
>
tell application "finder"
>
if process "<name of process>" exists then
>
quit "<name of app>"
>
end if
>
end tell
>
>
Remember the name of a process may not always be identical to the name of an
>
application.
>
>
Cheers,
>
>
Ric Phillips
>
>
Computer Laboratory Support Officer
>
Faculty of Humanities and Social Sciences
>
La Trobe University
>
9479 2792