Jump to content

Cmd-1 to Cmd-2, Cmd-2 to Cmd-3


Recommended Posts

Posted

Hi, beginner question:

How can I create this:

I want to use

Cmd-1 as Cmd-2

and 

Cmd-2 as Cmd-3

 

But, if I press Cmd-1, it runs Cmd-2, but it detects Cmd-2, so it interprets Cmd-1 = Cmd-3

 

Thanks

 

 image.thumb.png.83b7c50cbf5863fde17286eb890f4142.png

Posted

If you simulate a keypress, then whatever is set to respond to it, will.


To avoid and XY problem, what exactly are you trying to achieve, why do you want those specific shortcuts in that way?

Posted

Figma used to have Cmd-1 assigned to the first work tab. It was all good.

They changed it sometime ago by adding a Home as the first tab, so now Cmd-1 sends you to the Home view.

I got used to having Cmd-1 to show the first work tab, which now is the Second tab.

Posted

Huh, and apparently (I just looked into it) Figma doesn’t let you customise keyboard shortcuts? That’s… curious. I don’t think I ever saw a design app without that ability before.

 

Are you using it in the browser, or in an app? If the former, one way around it would be to assign those Hotkeys to run specific JavaScript code in the browser to switch tabs. Unfortunately I’m not a Figma user so can’t help there, but that may provide the necessary clue for someone who is.

Posted

Then that’s probably a more difficult situation, as I imagine Figma’s app will be a thin web wrapper on the web app, and those are never automatable. Does the app at least let you change tabs via an option in the menu bar? If so, there’s an Automation Task that lets you simulate clicks on menubar options.

Posted

 

Quote

Automation Task that lets you simulate clicks on menubar options.

There's only "Previous tab" and "Next tab". 

Quite limited...

 

Thanks, for now I left only one Alfred action:
Cmd-1 to Cmd-2,

and removed Cmd-2 to Cmd-3

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...