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.