I am trying to run this applescript to capture screenshots while I watch a youtube video on chrome,
I am running on a Mac Mini with the M1 chip and Sonoma 14.5
Here is the basic script
tell application “System Events”
keystroke “5” using {shift down, command down}
delay 1
end tell
It does not activate the Screenshot app.
I have previously typed cmd shift 5 and set the region to capture.
but is seems like some things are not working with Sonoma.
Applescript looks like it has not been updated in 9 years