I have a plugin where the Alt Key is somehow making it through executeAsModal, which should block it. So when the user presses the key at the wrong time, it acts as if the user is press Alt while making a selection.
In any case, since I can’t figure out how to prevent the key from making it through, I want to put in a check to see if the keys is being pressed right before the batchPlay selection process so I can add in a sleep step loop waiting for the key to be released.
I can’t figure out it there is a way to just key the current key state. The only info I can find is listening for keyUp, keyDown, which isn’t what I need. I just want to get the current state of the key being up or down, not continually listen for it.
Does anyone know if this is possible?