Re: check a process
Re: check a process
- Subject: Re: check a process
- From: Christopher Nebel <email@hidden>
- Date: Sun, 28 Dec 2003 10:30:57 -0800
On Dec 27, 2003, at 2:12 PM, Marc K. Myers wrote:
Processes are objects, and there's a perfectly good "exists" verb:
tell application "System Events"
return (exists process "Suitcase 9")
end
Ask for the information you want.
Am I mistaken in thinking you don't need to have a process running in
Classic to detect Classic? Couldn't you say:
tell application "System Events"
return (exists process "Classic Support")
end tell
Sure -- in fact, testing for "Classic Support" is the more reliable
way. I was merely pointing out a more effective way to test for the
existence of a particular process.
--Chris Nebel
AppleScript Engineering
_______________________________________________
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.