terrypin Posted February 12, 2014 Report Share Posted February 12, 2014 I'm sure we've discussed this before but so far I haven't found the thread. Is there a simple way to display the progress of a macro that uses a repetitive process please. Llke this one: Repeat Start (Repeat 200 times) Copy File/Files: "%tFilename%" to "%tPath%%tName%_%nCount%%tExt%" Wait for File to Exist: %tFilename%_%nCount% Delay: 0.1 secondsEnd Repeat It copies a file, renaming each one by attaching an incrementing number. Doesn't take too long, but it was hastily written and occasionally fails first time, probably because several other complex applications are also loaded. So I'd like to see its progress. e.g. as percentage in a message box - providing that doesn't seriously slow it down. Even for 100% reliable macros, that would still be a nice-to-have feature. --Terry, East Grinstead, UK Quote Link to comment Share on other sites More sharing options...
Samrae Posted February 12, 2014 Report Share Posted February 12, 2014 Try this: Text Box Display: Progress ... // <--- Timed floating box or end of macro Repeat Start (Repeat 200 times) Update Textbox: Progress ... // <--- Option in the Text Box Display command Copy File/Files: "%tFilename%" to "%tPath%%tName%_%nCount%%tExt%" Wait for File to Exist: %tFilename%_%nCount% Delay: 0.1 seconds End Repeat Quote Link to comment Share on other sites More sharing options...
terrypin Posted February 12, 2014 Author Report Share Posted February 12, 2014 Thanks a bunch, Samrae, exactly what I wanted. Embarrassed that I didn't spot that command - never used it in all this time --Terry, East Grinstead, UK Quote Link to comment Share on other sites More sharing options...
Cory Posted February 12, 2014 Report Share Posted February 12, 2014 I typically do it like Samrae. Way back when I created a some text box as progress indicators that used the block ANSI characters and the RFT support for colors to create a graphic colored bar. I'm sure the post must be out there someplace. Maybe the old beta forum? Quote Link to comment Share on other sites More sharing options...
amonaghan Posted February 14, 2014 Report Share Posted February 14, 2014 I did something similar to that Cory several years ago for lengthy work projects, but can't seem to be able to find it anymore, sadly. 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.