When Window Closes

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
user123

When Window Closes

Post by user123 » Mon Sep 13, 2004 6:44 pm

:roll: Is there a way to execute a script when an active window closes? Sort like when you can schedule a macro to run when a window opens. (under schedule macro) let me know. thanks

Lumumba

Post by Lumumba » Mon Sep 13, 2004 7:15 pm

Yes, and no.
You've to run a script constantly in the background to detect if that specific window is open and when it's closing.
Label>Check
Wait>3
IfWindowOpen>Macro Scheduler - Internet Explorer, Check
MessageModal>Bingo. Let's do what has to be done !

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts