Talk:API UseAction

I've only managed to make it work from a macro. Using it in a .lua yielded no success. Any idea why?

My guess is that it has something to do with the keystroke requirement. The only uses Bliz has provided us with in the MPQ's are in ActionBarFrame.xml and ActionButton.lua.

For that matter, what's the second parameter for? I hav yet to see a non-constant in that position.