I was hoping that even though I blocked the keypress by the user, Voice Attack would STILL be able to send a keypress to the game within the command....
I have a command that does the following actions:
Block specific keyboard keys (blocks alpha Enter key)
Pause 5 seconds
Quick Input, 'Hello'
Press Enter key and hold for 0.1 seconds and release
Pause 5 seconds
Unblock specific keyboard keys (unblocks alpha Enter key)
If I target Notepad, start pressing Enter over and over (spamming quickly) and execute that command, the alpha Enter key immediately stops responding. After five seconds, 'Hello' is typed out on a single line, followed by a single Enter key while my physical key presses are still not registered. After another five seconds, my key alpha Enter key is registered again.
It's been this way for a number of years (I used it a lot in World of Warcraft), and I haven't had any feedback that has indicated that it wasn't working as expected. What does your command look like?
Gary.
Thanks for your response.
Well, certainly no, I wouldn't say this activity is the norm per say.
However, in my testing I did notice that for me and Star Citizen, when selecting keys like F1, F11, F2 (which all pull up graphical menus which include character animation, and relatively inconsistent timings, there's more likely a chance for things getting out of sync.
This is why in another thread I put forth a suggestion about how the Block Keys operate in VA.
https://forum.voiceattack.com/smf/index.php?topic=1228.0At this point, I've moved out my code from the polling command to it's own command and locked the key.
[Do not allow key to be passed through] i.e. [ENTER] Key
This now works more reliably enough,
HOWEVER..When I switch out of the game to let's say here, or notepad, the [ENTER] key is still locked.
The command has all the below checked:
[Allow other commands to be executed while this one is running]
[Always execute this command]
[Stop command if target window focus is lost] <----- Should release Enter key, no?
[Resume command if focus is regained]
My apologies if the above is BASIC.. But now don't know why when switching out of the focused game application, why VA also doesn't release the ENTER key for use?
Thanks much in advance for correcting my potentially amateur error above.