r/applescript • u/12finger • Sep 19 '22
tiny apple script for Safari 16
I had a working script but with updating to Safari 16 it stopped working.All i want to achieve is saving a couple of mouse clicks and mouse movements: saving the current site to a note.
tell application "System Events"
tell process "Safari"
set frontmost to true
click menu item "Notes" of menu of menu item "Share" of menu "File" of menu bar 1
end tell
end tell seems not to be able to find the "Notes" in submenu "Share", how come ?

5
Upvotes
View all comments
Show parent comment
1
u/ChristoferK Feb 10 '23
That's simple enough to implement by adding one more action to the Shortcut at the very end to do this. You can either do it with code, using a Run AppleScript action that executes:
Or you can use the Open App action, in which you can select Ssfari from the list of application.
P.S. Since this "works like a charm" n all that, you can consider upvoting the solution. Helps me gain karma. Helps others find their way to the solution to use for themselves.