- i would like to have the possibility to enable/disable commands. It would make scripting things so much easier.
i already asked for this feature some time ago but please let us know why isn't it possible with Voice Attack ?
Where did you suggest this feature? It's not in your post history.
Either way, commands can already be disabled using the "SetSessionEnabled()" method within an inline function. This will still allow the command to be recognized (but not executed), likely because rebuilding the list of phrases for the speech recognition engine (and other data) would require a profile reload.
- the command "toggle shortcuts" seems not to be working correctly. It only disables them but doesn't reenable
If shortcuts aren't working after re-enabling them (I.E. there is no red icon over the keyboard button on the main window), something one your machine may have broken VoiceAttack's keyboard hook.
Try using the "Reset Keyboard Shortcuts" option of the "Windows Miscellaneous Functions" action, (it may show a message in the log about the handle being invalid, in which case you'll need to run it again).
- would like to have a function to check if a window has focus or not
Only one window can have focus at a time, so if "{ACTIVEWINDOWTITLE}", "{ACTIVEWINDOWPROCESSNAME}", or even "{ACTIVEWINDOWPROCESSID}" don't match the window you're checking, it doesn't have focus.