• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting running status of an application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Getting running status of an application
      • From: Bill Briggs <email@hidden>
    • Re: Getting running status of an application
      • From: Mr Tea <email@hidden>
    • Re: Getting running status of an application
      • From: "J.B. Stewart" <email@hidden>
References: 
 >Re: Getting running status of an application (From: Ric Phillips <email@hidden>)

  • Prev by Date: Re: New user
  • Next by Date: TIDS are? - a script for displaying the current value
  • Previous by thread: Re: Getting running status of an application
  • Next by thread: Re: Getting running status of an application
  • Index(es):
    • Date
    • Thread