--- In [email protected], Grumpy Gamer <[EMAIL PROTECTED]>
wrote:
>
> Hi everyone,
>
> Is it possible to give the win.message command in a PowerPro script an
> automatic close value like the message command in the PowerPro gui?
> Say that I wanted the message box to automatically close in 5 seconds,
> could it be done?
Simple way is
do("message", 5, "some text")
which waits 5 seconds for some text.
More complicated would be to create an event just before doing a
messagebox. That event would execute a win.close on the message box
title caption. Something like (not tested)
event.create(5, 1, ?+win.close("my title")+)
messagebox("OK", "some text", "my title")