Jump to content
Macro Express Forums

How To Calculate Time For Macro To Run?


another1one
 Share

Recommended Posts

I would like to be able to display, once a macro has finished, how long it took for the macro to run.

 

It seems like it should be a simple thing to do, but I cannot find whatever functions are necessary, short of grabbing the time to a text var at the beginning and end, converting the relevant bits to integers, converting minutes to 60 seconds and subtracting the two times. This seems unnecessarily convoluted, is there a better way to do this?

Link to comment
Share on other sites

You can set integer variables to hour:minute:seconds at the beginning of the macro and then again at the end of the macro and calculate them as you described. This would cut out the Variable Modify String command.

 

This macro has already been written and is available in the PGM Functions library.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...