View Single Post
  #1  
Unread 09-09-2012, 04:17 AM
Delone's Avatar
Delone Delone is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: May 2012
Posts: 21
Creating a button to fire a keybound action?

Is there any way to link a button created in a window to a keybound action?

e.g. If I wanted to create a button on a quickbar which was to toggle autorun on and off?

If yes, does it work for specific commands, or does it just fire a particular keypress, and that is then dependant on people having the required action bound to that key? If it's command specific, is there a listing of the commands associated with particualr actions? I couldn't find anything along these lines in the documentation.

Any additional information would be most welcome, still muddling my way through learning this, and with no programming background at all I'm mostly just picking and prodding at others code where I see them doing something similar to what I want to achieve in order to learn how things work.

Thanks in advance, Delone.
Reply With Quote