Quantcast WoWInterface - View Single Post - Key Bind Handlers
View Single Post
10-14-13, 01:48 PM   #4
Vrul
An Onyxian Warder
 
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 352
If taint is a concern then this should work:
Code:
securecall(button.Click, button, "LeftButton");
or for really secure:
Code:
if (issecure()) then
    button:Click("LeftButton");
else
    SecureActionButton_OnClick(button, "LeftButton");
end
But it really is bothersome to wrap an OnClick script and still have to manually deal with keybinds.
  Reply With Quote