• 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: List of open applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List of open applications


  • Subject: Re: List of open applications
  • From: Christopher Stone <email@hidden>
  • Date: Wed, 05 Sep 2012 20:40:47 -0500

On Sep 05, 2012, at 14:00, koenig.yvan <email@hidden> wrote:
tell application "System Events"
set processusVisibles to name of application processes whose visible is true
end tell
______________________________________________________________________

Hey Yvan,

Hidden applications won't show up in the list.  You have to make them all visible first to ensure a complete list.

tell application "System Events"
set visible of processes to true
set pList to bundle identifier of processes whose visible is true
end tell

set quitList to choose from list pList with title "Bundle-ID of Processes" with prompt ¬
"Pick One or More to Quit:" default items {item 1 of pList} ¬
multiple selections allowed true ¬
with empty selection allowed

--
Best Regards,
Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >List of open applications (From: "koenig.yvan" <email@hidden>)
 >Re: List of open applications (From: Axel Luttgens <email@hidden>)
 >Re: List of open applications (From: "koenig.yvan" <email@hidden>)
 >Re: List of open applications (From: Axel Luttgens <email@hidden>)
 >Re: List of open applications (From: "koenig.yvan" <email@hidden>)

  • Prev by Date: Re: Bad script, good script
  • Next by Date: Re: List of open applications
  • Previous by thread: Re: List of open applications
  • Next by thread: Re: List of open applications
  • Index(es):
    • Date
    • Thread