Reassign shortcut with variable in it I made a shortcut with Automator to open a file with VS Code in Finder. But I can't assign it to the desired keyboard shortcut (command + option + c) because it is already taken by 'Copy "filename" as Pathname' shortcut. I can't reassign in System Preferences -> Keyboard -> Shortcuts -> App Shortcuts because it has a variable name in it.



Automator script to open VSCode
Here is how I used the control + command + c keys in Keyboard Maestro.  It's a paid app with a free trial period.  Frankly, I didn't have much luck defining apple's keyboard short cuts. It was all confusing to me. 

Start up Keyboard Maestro
https://www.keyboardmaestro.com/main/

Keyboard Maestro does come with an assist to help you create your first action.  It's a little confusing at first to figure out what button to click when. They do have a forum. 

click on the plus icon to create a new action







pick what key you want to be the hotkey.  ( not shown )

add a new action. request to see the list of actions 



create new action.



Pick your action.


Resulting page.