I have a script using cmd-C and cmd-N keystroke commands. It worked fine for several weeks!
Now, after upgrading my mac to Sequoia it stops working. To be more precise, the “keystroke “c” using {command down}” does no longer set the clipboard content.
use AppleScript version "2.4" -- Yosemite (10.10) or later
use framework "Foundation"
use scripting additions
tell application "Safari" to activate
tell application "System Events"
tell process "Safari"
keystroke "n" using {command down}
end tell
end tell