How can I code fold script handlers by script and switch tabs of a window without system events?
tell application "System Events"
tell application process "Script Debugger"
--33 = [ previous tab
key code 33 using {command down, option down} --
delay 0.1
--123 = left arrow fold handlers
key code 123 using {command down, option down, shift down}
delay 0.1
end tell
end tell
Thanks
10.12.6