Implementation of Multi-stage Hold Actions (cumulative hold-duration triggers) and Passive "Watch" Mode (Non-blocking) #372
AllStar112
started this conversation in
Ideas
Replies: 1 comment
|
Thanks for the input!
I fixed a thing in 5.6.0 to make this work with timeouts.
This is already available with input expressions starting with |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I would like to suggest a few feature additions. I am not an active or professional programmer, so I do not understand if this can be done or not, but I hope you can consider it:
Briefly, if (e.g.) A is pressed for 1 second, it outputs B; if 2 seconds, it outputs C; if 3 seconds, it outputs D. So, when pressing A for 3 seconds, it outputs B C D sequentially.
Use Case (Text Selection):
I am trying to create a shortcut for word and line selection:
This code is not perfect yet. It would be much more comfortable if, during the second hold of CapsLock, it immediately blocks 1 word followed by 1 line. This would feel much better because we know exactly when the change occurs. And since CapsLock isn't "killed," the second CapsLock must also be released. Maybe the code would look like this (if combined with the second feature request below):
For example, with a code like:
The output would be AC. There is a passthrough system, so it only "observes."
Maybe this could be replaced with A !200ms B >> AC, but it cannot be applied if using (Control) >> F13 or Control >> F13. Doing so "swallows" the Control key, making it impossible to create other shortcuts. Even if worked around with Control{Any} >> Control{Any}, it would still send a single Ctrl pulse.
Another example:
In this case, CapsLock will experience a delay.
There are actually many other issues that occur, but I have forgotten some and missed others.
Perhaps if there were built-in functions for "word block" or "line block," it would be very helpful.
Thank you.
All reactions