-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to activate/deactivate macros based on a lock state #50
Comments
There's a Java code (seemingly only works in Windows) to detect whether Scroll Lock is activated. Check this answer on Stackoverflow https://stackoverflow.com/a/7435344/1974520.
Another way is to create a 2nd task, and have that task be activated on ScrollLock, then use a variable to store the state of the scroll lock (assuming it's off as a starting state). Then the main task can read that shared variable to retrieve the state of the scroll lock. |
I'm not totally sure if this is the right way to ask a question like this, but I found that the existing documentation was not specific enough to be helpful in this case.
I want to create a script/macro/task/whatever-tf-it's-called that uses the scroll lock key to toggle the numpad between normal functionality and a 'macro mode'. This is to say, while scroll lock is inactive, the numpad acts as normal and while active, each key sends an 'F#' key or other custom keystroke combination. Is this kind of thing supported?
The text was updated successfully, but these errors were encountered: