Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to repeat list of macros n time
#1
I am trying to know how can I repeat the execution of a macro that contain a list of macros to run n time.

Code:
Copy      Help
rep(3)
mac "Macro 1"
mac "Macro 2"
mac "Macro 3"
mac "Macro 4"
mac "Macro 5"

I always gives me an error "launching macro from macro"

any help how can i do that?
Regards
#2
Convert the macros to functions (you can do it in the Properties dialog) and call, don't use mac.

rep 3
,Macro_1
,...

If don't want to convert to functions, use this:

rep 3
,wait 0 H mac("Macro 1")
,...

If don't want to wait, select "Run simultaneously" in macro Properties dialog.
#3
Thank you Gintaras.
it works perfectly.

I just want to know how can I know this?.
I read wait and wait for, in the help, but I did not find an example that looks like the help that you sent me.

Best Regards


Forum Jump:


Users browsing this thread: 1 Guest(s)