I am trying to quit all the active browsers using the below code, but am unable to get the list of all active browsers to quit.
tell application "System Events"
set appList to every process whose visible is true
repeat with thisApp in appList
tell process browser
quit
end tell
end repeat
end tell
Best Answer
Repeat as needed