Re: Processes
Re: Processes
- Subject: Re: Processes
- From: Andreas Monitzer <email@hidden>
- Date: Mon, 21 Jan 2002 17:45:03 +0100
On Monday, January 21, 2002, at 03:25 , Alex Keresztes wrote:
I have two questions:
1. Does anyone know how to check if a specific application is running,
from cocoa or carbon?
2. How can I send that application a quit message once I have
discovered if it is running?
In Cocoa/AppleScript:
tell application "Finder" to set theProcesses to processes
repeat with n from 1 to count of theProcesses
tell item n of theProcesses to quit
end repeat
(Note that invisible apps are also part of that list)
andy
References: | |
| >Processes (From: Alex Keresztes <email@hidden>) |