However, it gets an error when I try this:
tell application "System Events"
set appNameList to every application
process whose name is in my getList()
end tell
on getList()
return {"Keyboard
Maestro", "Finder", "Script
Debugger"}
end getList
Any ideas/suggestions?