One of the (not so heavy but annoying and, possibly, dangerous) behaviour I saw using macros to start actions from actionbars is that one can never "get back to the previous" actionbar he was when started the action, at a certain point or just when the macro ends.
E.g. if I've all my Fight actions grouped into actionbar 2 and I start a macro which uses an action/button which is in actionbar 1, I can't get back to actionbar 2 when the macro stop working or when I need it.
macro "heal me"
* Actions: Select shortcut bar 1
* Actions: Run shortcut 2 (e.g. heal self)
end of macro: I'm still into actionbar 1 (which, for example, can have Magic actions)
Suggestion #1: add an action to "temporary select" of an actionbar, valid for the next action only, which switches you back when the action ends:
macro "heal me"
* Actions: TempSelect shortcut bar 1
* Actions: Run shortcut 2 (e.g. heal self)
end of macro: I'm back into actionbar 2
Suggestion #2: add a "Previous" parameter to the "Select shortcut bar" action, which must be executed after the actions of the switched-to actionbar took place:
macro "heal me"
* Actions: Select shortcut bar 1
* Actions: Run shortcut 2 (e.g. heal self)
* Actions: Select shortcut bar prev
end of macro: I'm back into actionbar 2
If the macro's actions can be executed in sequence, both solutions can be viable. If the execution is not serialized (even if I have difficult to think why), only the first suggestion can help.
To avoid confusion: I used the words "back" and "previous" for a precise reason: starting a macro I just can't be sure of which actionbar I'm in at the moment so, to avoid making TEN macros (get back to actionbar 1, get back to actionbar 2, ..., get back to actionbar 10), is preferable to "get back to the previous" one.
E.g. if I've all my Fight actions grouped into actionbar 2 and I start a macro which uses an action/button which is in actionbar 1, I can't get back to actionbar 2 when the macro stop working or when I need it.
macro "heal me"
* Actions: Select shortcut bar 1
* Actions: Run shortcut 2 (e.g. heal self)
end of macro: I'm still into actionbar 1 (which, for example, can have Magic actions)
Suggestion #1: add an action to "temporary select" of an actionbar, valid for the next action only, which switches you back when the action ends:
macro "heal me"
* Actions: TempSelect shortcut bar 1
* Actions: Run shortcut 2 (e.g. heal self)
end of macro: I'm back into actionbar 2
Suggestion #2: add a "Previous" parameter to the "Select shortcut bar" action, which must be executed after the actions of the switched-to actionbar took place:
macro "heal me"
* Actions: Select shortcut bar 1
* Actions: Run shortcut 2 (e.g. heal self)
* Actions: Select shortcut bar prev
end of macro: I'm back into actionbar 2
If the macro's actions can be executed in sequence, both solutions can be viable. If the execution is not serialized (even if I have difficult to think why), only the first suggestion can help.
To avoid confusion: I used the words "back" and "previous" for a precise reason: starting a macro I just can't be sure of which actionbar I'm in at the moment so, to avoid making TEN macros (get back to actionbar 1, get back to actionbar 2, ..., get back to actionbar 10), is preferable to "get back to the previous" one.