tiffle
October 13, 2023, 12:13pm
13
There's an updated version of the AppleScript to open the Finder contextual menu that been tested and works on Catalina and Ventura. You can find it here:
Ok, this opens the contextual menu successfully on my system:
tell application "System Events"
set frontApp to name of first process whose frontmost is true
tell application process frontApp
try
set theSelection to value of attribute "AXFocusedUIElement"
tell theSelection
set defaultAction to perform action "AXShowMenu"
if defaultAction is missing value then
tell (first group whose selected is true) to perform action "AXShowMenu"
end if
end tell
on error errMsg n…