Anyone know the code to close ALL windows (ie: photoshop, IE, Notepad, etc) in the taskbar? And also all pop-up, alert, error ... windows?
I tried with a sequence of ALT+F4 command..but when all windows are closed, another ALT+F4 close the Windows Work Session.
Thank you very much.
How to close all taskbar windows
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
There's probably a more technical approach, but this works:
Code: Select all
Label>CloseEm
Press ALT
Press F4
Release ALT
Wait>0.5
IfWindowOpen>Shut Down Windows
Press Esc
Goto>AllClosed
Endif
Goto>CloseEm
Label>AllClosed
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?