| Author |
Message |
Forum: Support Topic: Time Subtraction (SOLVED) |
| JimBeam_de |
|
Posted: January 14th, 2009, 9:57 pm
|
|
Replies: 6 Views: 601
|
| StartTime := A_TickCount Sleep, 1000 ElapsedTime := A_TickCount - StartTime MsgBox, %ElapsedTime% milliseconds have elapsed. of course, it displays in mil-seconds, so if u want seconds, u divide by 1000, if want mins, divide 60 more Thanks Tons Evan!!!! With that what you gave me i was able to tie ... |
|
 |
Forum: Support Topic: Time Subtraction (SOLVED) |
| JimBeam_de |
|
Posted: January 14th, 2009, 9:56 pm
|
|
Replies: 6 Views: 601
|
| No useful help can be given because you have not posted your code. An outline is of no use when trying to debug code. All I can say given your post is a quote from the help file: EnvSub - TimeUnits If present, this parameter directs the command to subtract Value from Var as though both of them are ... |
|
 |
Forum: Support Topic: Time Subtraction (SOLVED) |
| JimBeam_de |
|
Posted: January 13th, 2009, 12:16 pm
|
|
Replies: 6 Views: 601
|
| Hi everybody, i am trying to get a time subtraction running, but i somehow seem to bee a dau when i read through the help file. Basically, i just want a timer that tells me how long my script ran. Heres what i got: 1. FormatTime, var1, T12, Time 2. Outputdebug The current time is %var1%. 3. EnvSub, ... |
|
 |
| Sort by: |