How would I get access to a fast (millisecond) timer within the scripting
environment. I know "XUScriptHost.Sleep 5000" will sleep for 5000
millisecs, but was looking for a free running fast timer.
Generally it might be something like the code shown below,
but I'm not sure how to code this for X-Unleashed's VB
Dim StartTickCount As Long
Private Declare Function GetTickCount Lib "kernel32" () As Long
StartTickCount = GetTickCount()
|