How can I execute the command you were so kind to write for me within another command? Either triggering "always listen" or "push to listen".
I tried the code below, but even though it's told to execute "always listen", it triggers "push to listen".
Executing a command by name currently doesn't pass the exact phrase to the "{CMD}" token, rather it passes the complete command name, E.G. "Push to listen;Always listen", so the command always sees "Push".
I've put it a
feature request to see if it's feasible to change this in future. EDIT: Feature will be in the next beta. Thanks Gary!
However, for now, you should be able to switch between the two modes using the following:
Set Boolean [PTT] to False
Assuming you're holding the push-to-talk key, this will make VoiceAttack listen continuously when it's released(variables are global, so the command you invoke when pressing the key will see the modified value when you release it)
Set Boolean [PTT] to True
Stop VoiceAttack listening
As presumably you're not holding down the push-to-talk key when switching to that mode, you need to explicitly turn off listening.