Remove item not ready messages and sounds for macros

I’m looking to make a macro for a bunch of my zero cd dps spells so that when I use them I automatically use my trinket when it is off cd, specifically Dreadfire Vessel.

The problem is whenever it is off cooldown I get the ‘item is not ready yet’ error text and sound. Is there a way to remove both of them specifically within a macro use while still having it for everything else?

I looked everywhere but all info was before 8.2 where apparently the old way got broken.

Still broken.

It’s been reported as a bug, no idea whether Blizzard intends to fix it.

Sure, but is there not some work around or at least a way to mitigate the errors. And if there isn’t does anyone know if there is an addon workaround.

There is no reliable workaround that can be used in macros.

Basically the macros run into a race condition where it is disabling and reenabling the error speech and sounds before the action that triggers the error has completed or failed.

Using addons, you can set a short delay for the re-enable functions, with mixed results. It isn’t really workable for keybinds that you might spam as you are continually sending the disable command with a delayed re-enable command, so it typically stays disabled. Further, including the delay takes a fairly large number of characters, especially if you are doing both sound and error speech, making the usability in macros in the typical context very difficult.

For example:

#showtooltip Aimed Shot
/stopmacro [channeling]
/use [combat]Trueshot
/use [combat]Spectral Potion of Agility
/use [combat]13
/use [combat]14
/use Aimed Shot

This is already 163 characters. Adding a single /console Sound_EnableSFX 0 is 26 characters. So turning off and on SFX and Error Speech alone pushes you over 255 characters, and that doesn’t even include clearing the UIErrorsFrame, let alone a delay on everything.

And sure, in that macro you could save 32 characters by eliminating the [combat] conditional on Trueshot, Potion, and Trinkets, but that would likely result in you burning potions and blowing cooldowns early when out of combat, costing significant gold and reducing the effectiveness of the macro considerably.

I attempted to register new slash commands /sfxon, /sfxoff, /clearerrors to change the sound settings and clear the errors frame, including a short delay using C.Timer_After, but I wasn’t able to get anything approaching consistent results and abandoned the project.