philkryder Posted November 26, 2013 Share Posted November 26, 2013 (edited) Sometimes I would like to know how long execution of individual AUTOIT statements take. To do this, I've used TRACE: ADD TRACE LINES from the tools menu, and then used REPLACE all on the ConsoleWrite('>Error code: ' ... to change to ConsoleWrite(@hour & '_' & @min & '_' & @sec & '>Error code: ' ... Is there an easier way to obtain the elapsed time for AUTOIT statements? or, Alternatively, Is there a way to modify the lines that are inserted by TRACE: ADD TRACE LINES? thanks! Phil Edited November 26, 2013 by philkryder Link to comment Share on other sites More sharing options...
Solution gruntydatsun Posted November 26, 2013 Solution Share Posted November 26, 2013 This file implements TraceAdd() function. C:Program FilesAutoIt3SciTELUAAutoItTools.lua Good luck philkryder 1 Link to comment Share on other sites More sharing options...
philkryder Posted November 26, 2013 Author Share Posted November 26, 2013 This file implements TraceAdd() function. C:Program FilesAutoIt3SciTELUAAutoItTools.lua Good luck thanks for the luck and the Tip! that was a big help. I was able to change the debug.trace.option to 3 and then trace contains : SystemTime: 12:35:13 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