Re: Script not quitting Entourage
Re: Script not quitting Entourage
- Subject: Re: Script not quitting Entourage
- From: chris stearns <email@hidden>
- Date: Fri, 22 Dec 2000 23:49:37 -0800
On Fri, 22 Dec 2000 11:53:27 -0500, Paul Skinner <email@hidden>
wrote:
>
The processes command returns a list of references. You'll have to parse
>
it.
Aha! Didn't know this. I ended up using this :
tell application "Finder"
list processes
end tell
if result contains "Entourage" then
tell application "Entourage"
quit
end tell
end if
In conjuction with an osax from Ken Dobson. Since its a single-machine
script, the osax addition is acceptable - the script is working just fine
now.
Thanks for your help!
--
CMS