• 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: Processes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: copy & paste between Carbon and Cocoa
  • Next by Date: Re: Processes
  • Previous by thread: Re: Processes
  • Next by thread: Re: Processes
  • Index(es):
    • Date
    • Thread