Re: List of open applications
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