Task Manager is another application that can be set to "minimize to tray." I can get it to unminimize (normal sized window) via the following:
Run application 'C:\Windows\System32\taskmgr.exe'
...however performing the same method for VA does not show the window when VA is minimized to tray.
Run application 'C:\...\VoiceAttack\VoiceAttack.exe'
has no effect
So either Task Manager's "minimize to tray" option behaves differently than VA's, or something else is going on that prevents VA from reappearing with the above command.
I also noticed that the {WINDOWEXISTS:textVariable} token produces different results when comparing Windows Task Manager and VA when they're both set to "minimize to tray."
//Define the window title of interest
Set Text [subject window] to 'VoiceAttack'
//Check for 'subject window' in the current open windows and store result
Set integer [window exists] value to the converted value of {WINDOWEXISTS:subject window}
Write '[Blue] {INT:window exists}' to log
The above produces '0' when VoiceAttack is minimized or unminimized, while Task Manager (change above variable 'subject window' to "Windows Task Manager") produces '0' when minimized and '1' when unminimized.
So when VA is set to "minimize to tray" it looks like the program can't even tell that it "exists" regardless of window status...which is strange.
I've also tried to use the program "RBTray" with VoiceAttack, but RBTray doesn't have an effect on it.
I brought this up again because my "workaround" for making VA use mouse position and send-clicks to get VA unminimized from the tray won't work when I'm not able to view the tray (like in any game).
Thoughts?