r/applescript • • 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

24 comments sorted by

View all comments

Show parent comment

1

u/athmandest Sep 22 '22

would love to have that script. pls share