I know you've worked hard on the new beta, Gary, but I'm afraid I have to spoil it for you
In v1.6.1.34:
While prefix and suffix can both have the "Send this command to" option set independently, only the prefix's target is used. Even with a second of delay in the suffix, all keypresses are sent to the prefix target, while the suffix target receives none and never gains focus.
Even when both the prefix and suffix command have the "Stop command if target window focus is lost" option checked, switching to a different window does not stop them.
Testing was done thusly:
Press Space key and hold for 0,01 seconds and release
Pause 10 seconds
Press Space key and hold for 0,01 seconds and release
within the ten second pause I switched repeatedly between windows that were not the target, yet the command did not stop, either while the prefix command or the suffix command were executing at that point in time.
The following are observed with non prefix/suffix commands:When the "Send this command to" option is checked, focus changes to the target window when the command runs, as expected. However, when the "Stop command if target window focus is lost" option is checked as well, the command instantly stops when it starts, with a "Stopped command, '' : focus lost" message in the log.
If the "Resume command if target window focus is lost" option is also checked, the command will instead pause immediately; Presumably when focus switches to the target window, this counts as losing focus, as
The focused window is the window that has the focus when the command is first executed.
It's not documented whether it's an intended feature(to prevent commands starting when the correct window doesn't have focus), however the fact that the command can pause and start immediately(and possibly unexpectedly, depending on when and how many instances of the command were issues when out of focus) when the target window is focused, I feel it may not function entirely as expected.
Commands that are paused when the "Resume command if target window focus is lost" option is checked, are not stopped when the "Stop commands" button is clicked, or the "Make VoiceAttack Stop Processing All Commands" action runs. Instead, the command resumes and immediately stops only when the target window regains focus.