WeakAuras

WeakAuras

206M Downloads

API CreateMacro and EditMacro

gjfLeo opened this issue ยท 5 comments

commented

Can I use WoW API CreateMacro and EditMacro? Now they are considered as blocked functions.

If it's necessary to block them, is there any way to use them only out of combat?

If I make a copy such as MyCreateMacro = CreateMacro in some lua file, I can use the copy in aura environments. But is there any way to do this only in WeakAuras's options?

(Sorry for my poor English)

commented

No, we blocked those functions because they can be abused.

commented

Sorry for necroing this issue, but I guess its better than creating yet another issue.

I dont fully understand why you felt the need to block the functions.
Blizzard has already placed blocks for the functions in their API, making it required for the player to NOT be in combat.
This already stops any possible abuse of the functions.

The blocks that weakaura has put in place is overkill imo.
Please reconsider this feature request.

commented

You don't understand why we block those functions. It has nothing to do with botting your rotation.

commented

Indeed, I do not. As is why I'm asking.

So let me ask a final question:
Is the reason for the block of these 2 functions something you can share with us?

commented

Because we don't want auras be able to change the user's macros at all.