I created a small VA profile to house commands that are VA-specific and helpful when developing other profiles. It includes:
- Show/hide the VA main window, with specific support for the user employing the VA "minimize to system tray" option
- Retrieve mouse (x,y) coordinates
- Retrieve application info under mouse
- Start/Stop VA listening
If you have VA set to "minimize to system tray" you're going to have to go into the "Show VoiceAttack from Tray" Function and set the mouse (x,y) position of your VA icon on your tray (this will definitely be necessary for folks that have a non-1080p monitor as their primary display). The "Get Mouse Position" command will be handy here. You'll need to ensure that the VA icon is always visible on the taskbar and doesn't move if other applications are opened. You may also need to mess around with the pause timing in the "Show VoiceAttack from Tray" function depending on how fast your PC can pull up the taskbar.
I'll update this if I make significant changes or expand the functionality. Enjoy!