VoiceAttack
Profiles, Commands and Plugins => Profile and Command Discussions => Topic started by: jcdick1 on March 25, 2021, 10:51:30 PM
-
If I have a command similar to this:
[show me the;give me the;display the;] [navigation;status;engineering] screen
So that "show me the status screen" or just simply "status screen" will achieve the same using {CMDSEGMENT:X},
does having the trailing semicolon in the first segment and using the brief form cause {CMDSEGMENT:X} to shift SEGMENT:1 to SEGMENT:0 when processing it since there's no part of the true SEGMENT:0 command actually spoken?
-
No. As mentioned in the documentation, optional sections that aren't spoken return a blank segment.
E.G. speaking "navigation screen" would have "{CMDSEGMENT:0}" return "" (blank), "{CMDSEGMENT:1}" return "navigation", "{CMDSEGMENT:2}" return "screen", and "{CMDSEGMENT:3}" (as well as all subsequent segments) return the literal text "Not set".
If you're unsure as to the output of a given token, you can use the "Write a Value to the Event Log" action to show its value in the log on VoiceAttack's main window.