Using cap lock for simulate keystroke issue

Hi,

I use my cap lock key to simulate keystroke command+m to deactivate clips in Resolve. I use caplock since my pinky rests on cap lock, so it is super fast and ergonomic.

The issue is when i am typing in fields with Resolve and need to capitalize letters, it is still deactivating clips and reactivating them - frustrating!

Is there a way to make this conditional to when i am video editing, and not perform simulate keystroke when i am typing in a text fields?

Keyboard Maestro has no way to know if you're in a text field or not, so the short answer is "no." A longer answer, though, would be to see if Resolve has menu items that are only active when you're in a text field. If you can find such menu items, you can use an If-Then action with a "is menu item active?" condition.

Check to see if an 'in a text field' menu item is active, and if so, exit the macro. What I don't know, though, is what happens if you then continue typing—I don't know if you'd get caps or not.

Related question: Why not just slide the pinky down to Shift when you need to type capital letters, and keep the macro simple?

-rob.

Thank you I’ll check on approaching via menu items.

And duh I should have thought of simply holding shift! I just never capitalize that way, this is a no brainer solution thanks im just so hardwired to use caplock since i was a little kid haha!

I disabled my capslock key using Karabiner.
For some reason long ago, I got in the habit of holding my pinky on the shift key while typing all caps things and my left hand just 'adapts'. Never quite knew I even did this until I just noticed it one day.
Now use caps lock as a 'hyper' key (caps lock is mapped to pressing ctrl-shift-opt-cmd)

Typically 'Edit->Copy' is only active when you're in a text field, but that's obviously not 100% depending on the app.

Gotcha! I’m currently taking that advice on a job and getting used to it! Just love how my pinky sits over it, perfect for fast edits

That’s a really cool use of the caps key - cool! Love this idea, thanks :blush: