简体   繁体   中英

Switch window app by command line

"Alt+Tab" is used to switch a windows app to foreground, does anyone know how to do it with command line? or any API?

Check out KeyStuff: http://www.richpasco.org/utilities/keystuff.html

It's a pretty handy command line utility for issuing various keyboard commands to Windows. I haven't tested it extensively, but entering the Alt-Tab command works for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM