0

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.

enter image description here

Automator script to open VSCode Automator script to open VSCode

  • Do you need 'Copy as Pathname' at all, or would you consider losing it in favour of your own? – Tetsujin May 28 at 16:12
  • @Tetsujin I don't really need it. Just didn't see other solution for this problem. – zzsolt May 28 at 17:29
  • See if apple.stackexchange.com/questions/177132/… or apple.stackexchange.com/questions/265916/… might help; but I'm not certain of your actual intent, so I can't be specific without more detail. – Tetsujin May 28 at 17:34
  • @Tetsujin I want assign a shortcut to a key combo which is already taken. So I tried to remap that shortcut which is currently having that key combo, but unsuccesfully because it's full name in Finder is 'Copy "file/folder" as Pathname' where file/folder is the currently selected. You can see it clicking on Finder -> Edit and holding down the alt/option key. – zzsolt May 28 at 17:43
  • Ahhh... I see. Then you're stuck, I think. You at least need someone smarter than me to achieve that, sorry. Wish you luck anyway :) – Tetsujin May 28 at 17:46
2

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

enter image description here

enter image description here

enter image description here

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

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

enter image description here

create new action.

enter image description here

Pick your action. enter image description here

Resulting page.activate finder

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .