I suspect the answer is a big fat no, but here goes…
#showtooltip Wake of Ashes
/use [noknown:Hammer of Light] 13
/use [noknown:Hammer of Light] 14
/cast Wake of Ashes
Wake of Ashes becomes Hammer of Light after you use Wake. Hammer of Light occassionally procs for free, and you press Wake of Ashes to use it. This macro will use your trinkets when you use Wake of Ashes, but not for Hammer of Light procs. I was also going to add using pots to this.
/castsequence Execution Sentence, Wake of Ashes, Wake of Ashes
This will use Execution Sentence, then Wake of Ashes, then Hammer of Light. They will always be used in this sequence together, so it makes sense to me to use this.
Is there any way to have the first Wake of Ashes use the first macro?
/castsequence Execution Sentence, [WoA macro], Wake of Ashes
I really don’t think Blizz wants us to be able to do this, but it would be quality of life if we could.
Not really.
Used to be that the only way macros could invoke other macros is a “/click” of a fake keymapping that was mapped to the second macro. But Blizzard broke that in 11.0 with a new security restriction:
opened 04:14PM - 18 Apr 24 UTC
closed 02:09AM - 03 Jul 24 UTC
Mainline Beta
Feedback
High Priority
In the initial alpha build of 11.0.0, the "macrotext" secure attribute appears t… o have been removed from the macro action available to secure action buttons.
The removal of this functionality has a wide-ranging impact that will negatively impact users quite significantly, primarily over concerns with the limitations of the built-in macro system.
This ticket is intended to collect a few examples of use cases that will be broken to see if improvements can be made for end-users, or for certain functionalities to be added to the API to restore parts of what has been broken.
### Macro limits are too low
One common point of feedback so far is that both the length limit of individual macros (255 characters) and the number of available macro slots is considered to be extremely limiting. Addons such as [Clique](<https://www.curseforge.com/wow/addons/clique>) and [MacroToolkit](<https://www.curseforge.com/wow/addons/macro-toolkit>) which extensively make use of the "macrotext" attribute to allow macros to be bound directly to keypresses or unitframe clicks without consuming precious macro slots.
Increasing both the number of available character and account-wide macro slots, as well as bumping macros to natively support 1023 characters matching what RunMacroText actually supports would be helpful and may mitigate some common uses of the macrotext attribute.
### Item processing and other out-of-combat usages
A number of addons use macrotext for tasks such as item processing. Typically this takes the form of a `/cast <spell>` followed by a `/use <item>`. In some cases these can be replaced by proper use of the "target-bag"/"target-slot"/"target-item" attributes, but there's allegedly a few use-cases where these item-targetting attributes aren't suitable.
Additionally, for roleplayers addons such as [Total RP 3 Extended](https://www.curseforge.com/wow/addons/total-rp-3-extended) provide the ability to create custom items that may execute macro texts on a click, which makes it very easy for users to have an item that performs an emote for example. Our use case here is strictly out-of-combat, and we're not keen on the alternative idea of allowing unrestricted loadstring access to users as a replacement.
All of these cases could be made to continue working in 11.0 unaltered if the "macrotext" attribute were re-added, **but limited to only ever working while out-of-combat**. Conceptually this is a bit similar to InsecureActionButtonTemplate, which allows delegated execution of secure actions on click but only while out-of-combat.
### Some slash commands have no secure action equivalents
A few common examples that I've seen so far are `/clearfocus` and `/targetexact` - neither of these seems to be directly possible with the existing attribute system available to SecureActionButtonTemplate.
There's also cases of command sequences that aren't trivially replicated without the use of macrotext - for example, `/cleartarget` followed by `/target somethingelse`, or casting/using multiple spells or items back-to-back where one doesn't trigger a global cooldown.
In general - it would be wise to do a pass over SecureCmdList and see what makes sense to bring over to secure actions.
### Built-in macro conditions are extremely limited
The client doesn't support a lot of macro conditions natively, and the availability of certain conditions like `[known:spell]` isn't consistent between client flavors. A general resolution for this use case is proposed in #554.
### Concerns over macro slot reservations
The removal of this functionality may incentivize addons to "reserve" proper macro slots for their own functions, which would be a significant annoyance for users.
It wouldn't be surprising if the macro APIs need restricting to prevent this from happening, but that would then also wipe out any form of macro management addons that for example save and load macro sets based upon factors such as what instance you're in, or what class you're playing.
Basically, a macro can no longer call any object that triggers another macro. Macro chaining is dead by Blizzard’s hand.
1 Like
Thank you. I suspected this would be the case, but the verification saves me a LOT of testing/searching, lol.