List of open applications
List of open applications
- Subject: List of open applications
- From: "koenig.yvan" <email@hidden>
- Date: Wed, 05 Sep 2012 16:57:47 +0200
Hello
I wrote a quick and dirty piece of code but I wonder if there is a neeter way to get the list of open applications.
--[SCRIPT] tell application "System Events" to tell application process "loginwindow" # Issue cmd + option + Escape key code 53 using {command down, option down} repeat if exists (first window whose subrole is "AXSystemDialog") then exit repeat delay 0.2 end repeat tell (first window whose subrole is "AXSystemDialog") tell first scroll area to tell first table to set openApplications to value of text field 1 of every row click button 1 end tell end tell --[SCRIPT]
Yvan KOENIG (VALLAURIS, France) mercredi 5 septembre 2012 16:57:10
|
_______________________________________________
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