How to Execute a Whole Macro Group?

Hi, I can’t seem to find how it is possible to execute a whole group of macros in a macro that is not in that particular group. I would like the macros to be executed one by one in the group. Any ideas?

Thanks

This is probably the page to look at:

http://www.keyboardmaestro.com/documentation/6/keyboardmaestro.html#scripting_control

You can call a series of macros by the names or UID’s of each.

http://www.keyboardmaestro.com/documentation/6/keyboardmaestro.html#menu_edit_copyas_copyuid

For example:


Run a group of macros.kmmacros (3.0 KB)

1 Like

Thank you your first response was sufficiently clear but maybe you can bring this into KM 7 as an action? Execute whole group etc?

Goups do already have UIDs, but I don’t know whether it looks feasible to Peter to allow something like .doScript(uidGroup)

( A higher level of process composition is certainly an interesting idea, and probably OK with simpler macros, but once the UI interactions of one macro start holding up the execution of those that follow I guess it could get a little more complex … )

Hi, thought that I responded to them one previously but thank you once again.

Hi ComplexPoint, is execute group going to be brought in anytime soon?

Probably a question for Peter, really.

(As a footnote, one issue would be the sequence of execution – alphabetically by macro name ? Another would be the handling of recovering (or not) from failure in any of the macros)

No, I have no plans to add this as a feature I’m afraid. Certainly not any time soon and probably not at all. Its not a feature that makes sense to me and has too many questions over it. There is no ordering of macros within a group, so it is not a well defined operation to execute them sequentially, and executing them all simultaneously would not seem sensible either.

Sorry.