You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
boolean isOn = java.awt.Toolkit.getDefaultToolkit().getLockingKeyState(java.awt.event.KeyEvent.VK_NUM_LOCK);
if (!isOn) {
return;
}
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.
Let me know if that's clear or you'd want some code for this 2nd option.
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: