View Single Post
02-25-23, 02:52 AM   #4
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
Originally Posted by Walkerbo View Post
Hi SDPhantom

Ok, so the hidden button onclick overrides the SecureActionButtonTemplate, that makes sense.

I have removed the onclick from the hidden button, (I only added the onclick to test if the button was indeed being clicked).

Now with the b.hiddenSpellStopButton:Click() I do not understand what you mean.

I have tested the code and it throws no errors at all.

If I should not use b.hiddenSpellStopButton:Click() how do I click the button to stop the cast?
The whole point of the secure system is to prevent automation.
If you could click secure buttons from code in response to events then what's the point.

"how do I click the button to stop the cast?" You click it with your mouse or press a keybind.
  Reply With Quote