another1one Posted June 5, 2006 Report Share Posted June 5, 2006 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? Quote Link to comment Share on other sites More sharing options...
jason Posted June 5, 2006 Report Share Posted June 5, 2006 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. Quote Link to comment Share on other sites More sharing options...
another1one Posted June 6, 2006 Author Report Share Posted June 6, 2006 Thanks, I missed that feature. (I only wish Macro Express allowed more complicated arithmetic on a single line, it feels like I'm doing Assembly ) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.