View Full Version : Changing WoW keybinds on the fly?
RogueLover
10-17-2008, 03:45 PM
Is there a way or addon that will let you change your ingame keybindings on the fly, like via a profile? My slave toon has W,S,A,D disabled... but when I solo him in groups, I want an easier way to switch WSAD back "on."
Thanks for any help!
RogueLover
10-26-2008, 03:54 AM
Guessing there isn't any addon like this or information about an easy way to do it?
umm, just a thought. and it would not be quite "on the fly" but it would be closer. I am not sure if /reloadui also reloads the macro's. but if it does you could just write a quick batch file that would rename two different keybind files. I know at minimum you would have to reload the ui, not the perfect solution but it may work for you.
something like this.
/ren "c:\program files\world of warcraft\wtf\account\bindings.txt globalbindings.one
/ren "c:\program files\world of warcraft\wtf\account\character\bindings.txt localbindings.one
/ren "c:\program files\world of warcraft\wtf\account\globalbindings.two bindings.txt
/ren "c:\program files\world of warcraft\wtf\account\character\localbindings.two localbindings.txt
then just create a second one to switch them back
Found a way!
I am sure it would be fairly simply to write a full add-on and I might just look into that as I wanted an excuse to try my hand at it.
but you can take a look at the script functions, noteably
SetBinding ('http://www.wowwiki.com/API_SetBinding')
SetBindingSpell ('http://www.wowwiki.com/API_SetBindingSpell')
SetBindingClick ('http://www.wowwiki.com/API_SetBindingClick')
SetBindingItem ('http://www.wowwiki.com/API_SetBindingItem')
SetBindingMacro ('http://www.wowwiki.com/API_SetBindingMacro')
so you could create a set of macro's to change your bindings back and forth, something like this.
/script SetBinding(1, ActionButton1, LeftButton)
/script SetBinding(2, ActionButton2, LeftButton)
/script SetBinding(3, ActionButton3, LeftButton)
then
/script SetBinding(i, ActionButton1, LeftButton)
/script SetBinding(o, ActionButton2, LeftButton)
/script SetBinding(p, ActionButton3, LeftButton)
then bind each macro where ya want it.
violent5
10-30-2008, 07:34 PM
You could make a macro like this to turn WASD back on
/script SetBinding("W", "MOVEFORWARD")
/script SetBinding("A", "TURNLEFT")
/script SetBinding("S", "MOVEBACKWARD")
/script SetBinding("D", "TURNRIGHT")
/script SaveBindings(1)
RogueLover
10-30-2008, 08:32 PM
ohh, cool! That is exactly what I need! Then to unbind it for when my guy is a slave again, I would just mimic from WoWWiki:
<<
-- Unset the key combination Ctrl+F
SetBinding("CTRL-F");
>>
Great!!! So exciting! Thanks guys for your help!!!!!
vBulletin® v4.2.2, Copyright ©2000-2025, Jelsoft Enterprises Ltd.