Posts: 50
Threads: 16
Joined: Oct 2004
I want a message to the user to appear on the screen, but I do not want it to pause the macro in case the user is not at his terminal. Is there an option on the "mes" command to NOT pause the macro/function until user clicks OK?
Thanks, Craig
Posts: 50
Threads: 16
Joined: Oct 2004
Never Mind, I figured it out:
MES m.timeout=10
mes("message" "title" m)
does the trick
Craig
Posts: 50
Threads: 16
Joined: Oct 2004
But I do have one thing that this does not do. I'd like to be able to not have the dialog box close in order for the macro to continue...any way that is possible?
Craig
Posts: 12,072
Threads: 140
Joined: Dec 2002
Wrap mes into an user-defined function and launch the function in other thread (with mac).
Function mes_2:
function $text [$title] [$style]
ret mes(text title style)
Macro:
mac "mes_2" "" "text" "title" "in"