AddOns
AddOn Manager
Latest 200
Browse
Upload AddOn
Search AddOns
Projects
Author Portals
Git Repositories
SVN Repositories
Options
Email Feeds
Preference
Download History
News
Forums
New posts
Today's Posts
Search Forum
Categories
General
AddOns, Comps, Macros
Featured Projects
Developer
Site Forums
Mark Forums Read
Subscribed Threads
Open Buddy List
Members List
Help
Login
Sign up
WoWInterface
»
Developer Discussions
»
General Authoring Discussion
»
Run some lua code on advanced hotkey?
Go to Page...
Reply
Thread Tools
Display Modes
06-18-07, 10:38 AM
#
1
Silmano
A Murloc Raider
Join Date: Jan 2007
Posts: 9
Run some lua code on advanced hotkey?
I was wondering, how can I make an addon run a lua function or code when I hit Alt+Left Click on an item?
Do I have to change the XML file or just the LUA?
Thanks in advance!
Silmano
View Public Profile
Send a private message to Silmano
Find More Posts by Silmano
06-22-07, 12:50 AM
#
2
Riraito
An Aku'mai Servant
Join Date: Dec 2006
Posts: 32
Code:
function yourFunction() if IsAltKeyDown() then yourCodeHere... end end
__________________
Riraito
View Public Profile
Send a private message to Riraito
Find More Posts by Riraito
Reply
WoWInterface
»
Developer Discussions
»
General Authoring Discussion
» Run some lua code on advanced hotkey?
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Switch to Linear Mode
Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off