Toy with the windows on Windows as you can. (hide window / reveal window / kill window)
- Compile
toydow.cpp
- CMD :
toydow [hid|vis|del][-w|-k] [@|WindowTitle]
hid
: Hide the WINDOWvis
: Reveal the WINDOWdel
: Destory the main process which calls the WINDOW by pid[hid|vis|del]-w
: Wait for window and do once[hid|vis|del]-k
: Keep doing@
: Refer to itselfWindowTitle
: Fullname of the WINDOW
To hide console window itself which calls toydow :
toydow hid @
To destory the window named "toydow - VSCode"
toydow del "toydow - VSCode"
wait and destory the window named "toydow - VSCode"
toydow del-w "toydow - VSCode"
keep destorying the window named "toydow - VSCode"
toydow del-k "toydow - VSCode"
Code and documentation copyright 2022 Yaorelax. Code released under MIT License