-
Notifications
You must be signed in to change notification settings - Fork 166
Closed
Description
Suppose I want to switch to Chrome and open Gmail, and have a key combo Ctrl+Win+Alt+C assigned externally to do the first part. To assign such a macro to G1, I might do:
echo macro g1:+lctrl,+lwin,+lalt,+c,-c,-lalt,-lwin,+t,-t,-lctrl,+g,-g,+m,-m,+enter,-enter > /dev/input/ckb1/cmd
The problem here is that the macro happens so fast either the OS application switcher or the external program handling the switch-to-Chrome shortcut can't keep up, and I end up with a Ctrl+T,G,M entered into my previous application.
Could there be a way to signal a brief pause in the macro command? Such as the following (measured in ms):
echo macro g1:+lctrl,+lwin,+lalt,+c,-c,-lalt,-lwin,pause(500),+t,-t,-lctrl,+g,-g,+m,-m,+enter,-enter > /dev/input/ckb1/cmd
Metadata
Metadata
Assignees
Labels
No labels