View Single Post
12-08-15, 12:00 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
I don't think there is a /select command.
/click only works on buttons and is to securely execute Lua onclick handlers.



If you're looking to select the editbox to type in a value, you need to call a Lua method to activate it.
Code:
/run TradePlayerInputMoneyFrameGold:SetFocus()


To have the macro set a value, you can use this. This example sends 1 gold. (10000 copper)
The editbox does not need to be "selected" in order for this to work.
Code:
/run MoneyInputFrame_SetCopper(TradePlayerInputMoneyFrame, 10000)
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 12-08-15 at 12:05 PM.
  Reply With Quote