Posts: 28
Threads: 7
Joined: Apr 2016
I am trying to know how can I repeat the execution of a macro that contain a list of macros to run n time.
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
Posts: 12,239
Threads: 144
Joined: Dec 2002
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.
Posts: 28
Threads: 7
Joined: Apr 2016
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