Re: Getting running status of an application
Re: Getting running status of an application
- Subject: Re: Getting running status of an application
- From: "Bob.Kalbaugh" <email@hidden>
- Date: Fri, 31 Aug 2001 00:20:00 -0500
on 8/30/01 7:39 PM, Ric Phillips at email@hidden wrote:
>
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
Can you please expand upon this, for no matter what application I try...
the Finder Quits! ouch!
Luckily I was able to get it back with a tell Finder to activate from Script
Editor
example of my try:
tell application "Finder"
if process "Tex-Edit Plus" exists then
quit "Tex-Edit Plus"
end if
end tell
Am I missing something here? (and yes, I'm using the exact name)
thanks much.
Bob "Hell, I'll try anything" Kalbaugh