I am looking to create an AppleScript that allows me to open up a new finder window pointing to Desktop from anywhere in the system, preferably without having to use any thirdparty apps. Ideally the shortcut should supercede any application-defined shortcuts that are the same as my defined shortcut.

I looked at other suggested questions where this was handled, but even after adding Automator and Finder to the Accessibility apps in my Safety & Security settings, the problem persists.

The script runs well on it's own but only the shortcut seems impossible to be triggered.


tell application "Finder"
    open alias "Macintosh HD:Users:Patrick:Desktop"
end tell

Keyboard Shortcut: Command + E

Reference (not working): How do I assign a keyboard shortcut to an AppleScript I wrote?

Thanks for any help, A2k

You must log in to answer this question.

Browse other questions tagged .