Great, I was also partly looking for this, although I had gotten a fair idea of how to use the CooldownFrame_SetTimer() function earlier this was good information. My biggest issue now though is to find out what the name of the button linked to the spell/addon is.
Since I intend to implement it in an addon I'm writing, the button (a macro calling my addon to perform certain checks and thereafter maybe casting a spell) may be placed in all sorts of places, on different actionbars/flexbar/other bar addons and so forth.
Anyone have any good tips on how to fetch the button name in order to set the cooldown?
|