The mask is valid. It is just the macro-parameters are substituted with the values just before the job is started. That's why all values are the same. To get the real-time values use "Today" and "Now" methods Example: Dim( time_now, time ) Now( time_now ) MessageBox( time_now ) ... some long processing here ... Now( time_now ) MessageBox( time_now ) : Hi, : I have a question about the masks in the macro parameters. First, the help : says: MessageBox("@T"mmm-dd-yyyy hh.mm.ss"") : Wait 10 : MessageBox("@T"mmm-dd-yyyy hh.mm.ss"") : Wait 10 : MessageBox("@T"mmm-dd-yyyy hh.mm.ss"") : Wait 10 : <<< : When I run the script, the time never seems to change between references to : the @T"mask" macro. Are HH, MM, and SS valid masks with the : macros? I didn't see them in the help, but yet the MessageBox() statements : above do report hours, minutes, seconds. It just seems that the : "time" the mask is referencing doesn't update on the second and : third calls to the macro. : Any ideas? I'm using V3.3.1. : Robert
|