cypher175 Posted December 9, 2008 Share Posted December 9, 2008 Is there any time macro smaller than @SEC..?? like @MilSec = milliseconds Link to comment Share on other sites More sharing options...
Valuater Posted December 9, 2008 Share Posted December 9, 2008 Like this...; timer to "thousandths" of a second ; Author - Holger While 1 ToolTip(@Hour & ':' & @Min & ':' & @Sec & ':' & _MSec()) Sleep(1) WEnd Exit Func _MSec() Local $stSystemTime = DllStructCreate('ushort;ushort;ushort;ushort;ushort;ushort;ushort;ushort') DllCall('kernel32.dll', 'none', 'GetSystemTime', 'ptr', DllStructGetPtr($stSystemTime)) $sMilliSeconds = StringFormat('%03d', DllStructGetData($stSystemTime, 8)) $stSystemTime = 0 Return $sMilliSeconds EndFuncThere are many great useful scriptlets here in Autoit Wrappershttp://www.autoitscript.com/forum/index.ph...st&p=1337698) Link to comment Share on other sites More sharing options...
Andreik Posted December 9, 2008 Share Posted December 9, 2008 In beta version exists this macro for miliseconds @MSEC. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
cypher175 Posted December 9, 2008 Author Share Posted December 9, 2008 where to d/l beta version at..?? Link to comment Share on other sites More sharing options...
Valuater Posted December 9, 2008 Share Posted December 9, 2008 The forum link ( might want to remember )http://www.autoitscript.com/forum/index.ph...st&p=136074The actual page..http://www.autoitscript.com/autoit3/files/beta/autoit/8) Link to comment Share on other sites More sharing options...
cypher175 Posted December 9, 2008 Author Share Posted December 9, 2008 ok i installed the beta over the stable build but when i enter that macro @MSEC it says its an undefined macro and i get an error when syntax checking and also when building and running the .exe whats going wrong here..?? Link to comment Share on other sites More sharing options...
Andreik Posted December 9, 2008 Share Posted December 9, 2008 ok i installed the beta over the stable build but when i enter that macro @MSEC it says its an undefined macro and i get an error when syntax checking and also when building and running the .exewhats going wrong here..??Be sure that you run your script with beta version. If you use WinXP Right Click ->Open With - and then search C:\Program Files\AutoIt3\Beta\AutoIt3.exe if this is the path. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now