1
General Discussion / The Alt-Tab problem via voice
« on: March 05, 2014, 01:35:13 PM »
I'm not sure if I'm not approaching this problem correctly, or I am missing something obvious. I wish to setup a voice command to toggle Alt + tab as a simple example. I want to continue holding alt while issuing a voice command to select next window via the Tab key. Once I am overtop the desired window, I issue another command to select that window. Here is how it works in my head.
Phrase: Switch Windows (inputkeys.keysDown Alt + inputKeys.Send Tab)
If Phrase Next (InputKeys.Send Tab)
elseif Phrase Select (inputKeys.keysUp Alt)
I can't figure out how to give another phrase in the if statement while inside a command. Any working code you could provide is appreciated as it helps me learn from examples.
Phrase: Switch Windows (inputkeys.keysDown Alt + inputKeys.Send Tab)
If Phrase Next (InputKeys.Send Tab)
elseif Phrase Select (inputKeys.keysUp Alt)
I can't figure out how to give another phrase in the if statement while inside a command. Any working code you could provide is appreciated as it helps me learn from examples.