Close message box after defined time

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
HansJona
Newbie
Posts: 3
Joined: Sat Aug 12, 2006 8:26 am

Close message box after defined time

Post by HansJona » Sun Oct 29, 2006 7:30 pm

How can a message box be closed automatically after a defined time? Just to let a user inform about some macro steps!

I use Message command. Are there any other commands available?

User avatar
pgriffin
Automation Wizard
Posts: 460
Joined: Wed Apr 06, 2005 5:56 pm
Location: US and Europe

Post by pgriffin » Sun Oct 29, 2006 10:30 pm

Look at using an OnEvent like...

OnEvent>WINDOW_OPEN,MyMessageWindow*,2,CloseWindowSub

SRT>CloseWindowSub
wait>15
clo>MyMessageWindow*
wwc>MyMessageWindow*
END>CLoseWindowSub

You may need to use a Dialog> so that you have the ability to name the window, as opposed to using a simple Messagebox (Message or MessageModal)

look in the help files for the syntax of Dialog>

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