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

Re: App Launch Order


  • Subject: Re: App Launch Order
  • From: Andrew Wylie <email@hidden>
  • Date: Sun, 11 Feb 2001 15:37:39 +1300

> on 1/28/01 11:57 AM, Matthew Fischer at email@hidden wrote:
>
>> How would I go about using Applescript to get a list of my currently running
>> applications in the order they were launched?
----------------------------------------------------------------------------
--all processes in launch order

tell application "Finder"
set x to every process
end tell
choose from list x
----------------------------------------------------------------------------
--without background

tell application "Finder"
set x to name of application file of every process
end tell
choose from list x
----------------------------------------------------------------------------
--quit them

set y to reverse of x
repeat with i in y
try
tell application i to quit
on error
exit repeat
end try
end repeat
_____________________________ Andy


  • Prev by Date: Re: Listing apps in launch order
  • Next by Date: My last word on Re: Changed definition of word? No dashes?
  • Previous by thread: Re: View of a Finder window
  • Next by thread: Re: App Launch Order
  • Index(es):
    • Date
    • Thread