Applescript get list of running apps?
Applescript newbie question again :) I am trying to create a small
applescript that will allow me to select multiple items from a list of
currently running applications and then quit those selected apps.
Something like this works but rather than having to click on each dialog
it would be much easier to chose from a list.
tell application "System Events"
repeat with p in every process
if background only of p is false then
display dialog "Would you like to quit " & name of p & "?" as string
end if
end repeat
end tell
Any and all help would be greatly appreciated!
Thanks!
No comments:
Post a Comment