Any way to add a keyboard shortcut as a Finder toolbar button?

mcdj

macrumors G3
Original poster
Jul 10, 2007
8,900
4,091
NYC
I have an old AppleScript or Automator created app that I found on the web ages ago which duplicates the current finder window. I dragged it to my Finder toolbar, so duping a window is just a click away. I use it daily.

Mojave has broken it because it asks my permission every single time I use it.

So I found that the shortcut "cmd opt o" does the exact same thing. But old habits die hard and I'd love to find a way to make that keyboard combo into a button I can add to the finder toolbar.

30 min of googling and nothing...

Any ideas? I am NOT a coder/scripter/etc. I can copy/paste into Apple Script and save it as an app. That's the extent of my scripting ability.

Thanks!
 

chown33

Moderator
Staff member
Aug 9, 2009
8,782
5,165
vertical
I'm just guessing, but it may be because the app is unsigned, and the default is to not run unsigned apps. I think there's a System Preferences pane that lets you add unsigned apps to the list that's allowed to run w/o confirmation.

Another possibility is that the app needs to be added to the list of apps that's allowed to control other apps. I think that's under the Security & Privacy pane in System Preferences. IIRC it's the Accessibility option in the list.
 

mcdj

macrumors G3
Original poster
Jul 10, 2007
8,900
4,091
NYC
Thanks. Turns out all I had to do was open it in AS and resave.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.