Jump to content
Sign in to follow this  

I would like to have timestamps on autoIT traces

Recommended Posts

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?



Is there a way to modify the lines that are inserted by TRACE: ADD TRACE LINES?



Edited by philkryder

Share this post

Link to post
Share on other sites

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

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...