Sunday, June 4, 2017

toggle between apps with powershell

Use single quotes in your SendWait calls. I.e.: SendWait('%{TAB}%{TAB}') 

So I think I figured it out. You don't want to do an ALT + TAB for the toggle since this is a Z-Based swap. This means it only toggles between the first and second applications running. However, if you do Alt+Shift+ESC, this will tell the system to pull the last item in the list and bring it forward
I figured it out.
Use SendWait("%{TAB}")
In powershell the only way to use the alt key seems to be with the % symbol.

No comments:

Post a Comment