10-30-2021, 06:30 PM
Macro Macro3195
DateTime now.FromComputerTime t=now
SYSTEMTIME k=t.ToSYSTEMTIME
if(k.wSecond>=10) t.AddParts(0 0 1); k=t.ToSYSTEMTIME
k.wSecond=10
t.FromSYSTEMTIME(k)
out F"now={now.ToStr(4)} run={t.ToStr(4)}" ;;disable this line
double after=(t-now)/10000000.0
out after ;;disable this line
wait after
mes "MACRO"