salanderson Posted February 17, 2007 Report Share Posted February 17, 2007 hey this evening i have downloaded the trial version. i have made a macro through one of the wiazrds. i am now on the scripting editor but i cannot work out how to repeat my macro. i would prefrably like it to repeat 100-10000 times. Thanx Quote Link to comment Share on other sites More sharing options...
Cory Posted February 19, 2007 Report Share Posted February 19, 2007 Uh... It's the "Repeat Start" command in the Repeat group. There is no configuration or whatever to repeat a macro per se unless you have another macro with a repeat which runs the second macro which wouldn't make a lot of sense. It's better to repeat a routine within the macro. Whatever is in your macro now insert a Repeat Strat at the beginning and a Repeat End at the end. FWIW having huge itterations of repeats often cause troubles. Try using the scheduler instead. For instance I have macros that need to effectively run forever but I want to be able to run macros inbetween. So I schedule the macro to run every 60 seconds. Also if you need to repeat indefinately you can use the Repeat Until command and use the condition T1 <> T1. That is T1 not equal to T1. I use this all the time. Then I usually have an If test in there and if it's true issue a break command. Check out the tutorials online, I think there are some cool examples of repeats there. Quote Link to comment Share on other sites More sharing options...
blopib Posted February 19, 2007 Report Share Posted February 19, 2007 Hi If you want to define the number to repeat just use "Variable Set Integer %N1% from Prompt" and "Repeat with Variable using %N1%" 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.