Hi Andreas,
I'd like to edit my right Command button in Photoshop to simulate the CTRL+ALT modifiers (to change brush size).
I've not much use of some of my commands on the right side of the keyboard (Command and CTRL) and I'd like to use them for other specific things with some operations.
I can't create a new action pressing only the modifiers, so I'm wondering to do something like what I need. Of course this is only for right commands.
Thanks Frank, I meant I can't create an action with modifiers only. I need "when I press the right Option key", send "Press Command+Control". The fields (both trigger and action) expect a normal key and maybe one or more modifiers, but can't register modifiers only.
There are some preset action to emulate modifiers, but only one at time.
Hi @Lock If I don't completely misunderstand you, you can do what you need.
Key Sequence
(1) Right ⌥ down = ⌘+⌃ down
(2) Right ⌥ up = ⌘+⌃ up
Use the predefined actions for the modifiers (up/down).
If you press a letter between (1) and (2), the shortcut will be executed.
I have tested this. It works. But for reasons I don't understand, BTT doesn't recognize its own shortcuts. Only shortcuts defined by an app are executed.
edit: Sorry, I just realized that this way ⌥ is also pressed (down/up).
If you only need ⌘+⌃, then it only works with right ⌘, not right ⌥.
edit 2: Say you want to trigger ⌘⌃ + letter with right ⌥ + letter. Isn't it easier to set up this shortcut with BTT like this?
If you hold down ctrl+option in Photoshop, you can adjust brush size or hardness by clicking and dragging with the left mouse button simultaneously. He wants to replace the function of the ctrl+option keys with the right CMD key.
Maybe we could suggest a way to accept only modifiers as shortcut, and also a way to send multiple modifiers as an action.
Many thanks for your help, @Frank1 and @SLE.
The main problem is, modifier keys behave differently than normal keys - and BTT can not block them.
So if you assign the "opt key down" and "ctrl key down" actions to "right cmd down" (can be done in key sequences) you will end up with cmd + opt + ctrl, which I just learned is a color picker in Photoshop
Therefore for such things you should use a dedicated key remapping tool that works on a lower level (e.g. Karabiner Elements).
If you want to achieve what is described here with BTT, you can do it like this:
1.) Remap the right cmd key to some normal key, which you don't usually use. In this example right cmd becomes f19. Use this terminal command for this:
2.) Now when you press right-cmd you can record it as a normal shortcut and it will show up as F19 in BTT. So you can configure one action set for F19 - down and one for F19 up. Use the predefined actions "opt key down" "ctrl key down"
However the terminal command in step 1 needs to be executed everytime BTT starts. You can do this with the "After BetterTouchTool Did Launch" trigger in the "Automations, Named & Other Triggers" section:
Thanks for your help Andreas. I need to learn about Key Sequences as, so far, I only used Keyboard Shortcut.
Doing some blind test I somehow jammed the ctrl function so I only had the right click on my mouse, and I wasn't able to do anything (even close the btt process).