Blocking keyboard strokes

63 views
Skip to first unread message

Lisa-Azra

unread,
Dec 9, 2015, 2:36:20 AM12/9/15
to VoiceAttack
Hi Gary,

Great product. I have a little uncanny issue. I have VA version 1.5.8 and am running on win7 with run as administrator. I am using it with Elite Dangerous.
If I set it up with a simple instruction, I say ...... and it presses a key or say a piece of tts it works like a dream.
If I follow the tutorial  instructions set up a ED player (https://forums.frontier.co.uk/showthread.php?t=43582) the error happens. His instructions are for, I think an earlier beta version.
I believe the issue is with his method of keybinding. I have tried just the setting up of keybindings and cannot duplicate the error. What is the error. Basically it de-activates my keyboard, or just the corresponding keys that relate to the keybindings instruction. I followed his instructions for setting up UI panels and voice navigating through the panel tabs. When I play ED the voice activation does not work for those specific commands. Others yes. If I go into ED's control options and try to allocate the specific key I allocated for initially opening the UI panels to that control, it will not work because the keyboard key is not registering. Likewise, if I exit ED and open MS word those specific keys will not work. It gets weirder. If I go into voice attack commands and change the keyboard key I initially allocated to a command it will work, but the original key remains deactivated. If I change VA profile, close VA the deactivated keyboard key re-activates and works normally.
Any idea?
Lisa 

Gary

unread,
Dec 9, 2015, 3:23:02 AM12/9/15
to VoiceAttack
Hi, Lisa.

What is happening is that the profile you are using has hotkey/shortcuts assigned.  If you look at your command list and sort by the column called, 'shortcut' descending, you can see what keys are being used like that.  Typically, those shortcuts are flagged as, 'do not pass through'... which means that VoiceAttack handles the key event and then does not pass the key event along for other applications.  The only way to stop the profile from doing that is to issue a command that contains an action to disable hotkeys (also you'll need another command to enable hotkeys).  You can also click on the icon on the main screen to do the same thing.
As far as spoken commands not working... are they being recognized and nothing is happening?  If so, make sure you have adequate pauses between your actions, as your actions may be happening too fast for ED to pick up.

I hope I've answered your question or at least helped in some way... it's around 2:30 am here & I thought I'd at least take a shot o_O

Gary

Melykuti Gyorgy

unread,
Dec 12, 2015, 12:55:17 PM12/12/15
to VoiceAttack
Hello Gary,

First of all, you have done a superb work, VA is unbelievable :)
I was wondering would it be possible to include in some of the upcoming releases to disable Listening, shortcuts and joysticks up on losing focus of the window which is set beneath the "send commands to:" and then enable them on regaining focus ?
The following question is not connected to this topic but I'll ask it here anyway. Im configuring VA for 4 days now, setting up variables so that VA knows exactly where I am. For example if I start galaxy map having the left panel open when I close it it will go back to the left panel and if I say next it will change to the next tab. The same will happen if I do all the steps with keyboard or joystick.. I was wondering is there an App/plugin which reads details from the net.log ? for example docked or not, name of the current system, having those in variables would be vey beneficial.

Thank you in advance
George

Gary

unread,
Dec 12, 2015, 8:44:37 PM12/12/15
to VoiceAttack
Hello, there.

I appreciate your suggestion.  I'm thinking that might be good to add, however, it might be hard to convey without a lot of options.  I'll think on it some more.

What you can do right now (if you have the beta) is to add a few actions at the start of your commands to do what you are asking.

Below, I add a text compare conditional (if) statement that checks to see if the active window's title contains the word, 'zebra'.  If it does, the command will continue.  If not, the command will exit after the end condition (note the exit when condition met).

Begin Text Compare : [{ACTIVEWINDOWTITLE}] Does Not Contain 'zebra'
    Write '[Orange] No Zebra' to log   --or do nothing
End Condition - Exit when condition met
--Rest of the command here that does stuff

Hope that's helpful!

Gary

Melykuti Gyorgy

unread,
Dec 13, 2015, 4:43:49 AM12/13/15
to VoiceAttack
Hello Gary,

Thanks for your suggestion.
If I got it right, if I include those couple of rows in front of every command none will be executed if the active window is not elite. 
However I still will be facing the fact that my key presses will be stolen by VoiceAttack and it will be impossible to write a message outside of Elite unless I toggle the shortcuts by mouse voice or keyboard.
I have examined the net.log but was unable to setup an exact rule for being docked or not.I will be able to get the system names so It will be possible to have the command to setup previous route. It will be great for loop trading.

regards
George
Reply all
Reply to author
Forward
0 new messages