Script to change keybinds
does anyone know a script that can change the bindings of keys.
when i say change the bindings of keys im refering to lets say changing the function of the delete key from whatever it was.
To, binding it to the walk backwards button. And also changing what slot the key is bound to on an action bar.
so not only is it set to the secondary key to the backwards movment button it will also set the delete button to be the key bound to lets say slot 1 of the bottom right action bar.
If this is at all confusion to someone who thinks they can help just say something and ill try to figure a better way out to ask what im looking for. :pinch:
Great #&%&!#@ News For Possable Delopment Of This Script
From the ass crack of God himself, I descovered on of my co-workers (who happens to be a good familey friend of mine) has a friend who lives in California who is a "Programming Genious" as so stated by some technology magazine thats fairly popular in England. No idea what its called my friend said its like fewren or something idk.
But it turns out like i said he is a massive programming freakazoid who is willing to help me with this script im attempting to deisgn. While i was talking with him via E-mail i learned he has some friends/connections in Blizzards programming departments. Ya i know whats the fucking chances of that!?!? :thumbsup:
Well anyways after giving him a very detailed explination of what im trying to do and the macros-scripts i have have already designed along with a fairly decent amount of examples of different types of macros and scripts along with the codes and programming of a few addons he belives that this is totally doable. He will see what he can come up with on his own and get back to me. Then we will see what works and dosn't, followed by a E-mail to his "blizzard conatacts" with copies of of programs to see what they can do in reguards to correcting or altering the codes to make them work perfectly with wow system.
AKA blizzard would have their very own hands in the creation of this fap tasticle script/macro in otherwords. Once its made, if we get banned/suspended for using it which i dont think we would. We can very come back with the simple proff of that they themselves halp devlopit in personaly meaning it must be 100% allowed in the game.
How about them apples! pew pew WIN WIN FOR MULTI-BOXERS!!! :thumbsup: :thumbsup: :thumbsup:
RE: Script to change keybinds
Quote:
Originally Posted by 'Coca Cola Injection',index.php?page=Thread&postID=179829#pos t179829
does anyone know a script that can change the bindings of keys.
I know very little about WoW so I should probably keep quiet and let somebody else answer. But I've read that WoW's script language includes the following commands, and they look like they do what you want:
Code:
/script SetBindingMacro("KEY", "macroname")
/script SaveBindings(GetCurrentBindingSet())
Found what i needed from last post
Thanks to a person named Junx at dual-boxing.com
I found this post by that player while searching for information on google. Thank you google for reading this site like i could not =] and thank you also Junx
------------------------------------
You can use the various SetBinding() functions in a script to set keys to macros or commands.
It has three versions SetBinding, SetBindingSpell and SetBindingMacro with each variation taking two arguments: the keyboard or mouse button you want to bind to and the action, spell or macro you want bound.
Examples:
[code:1]/run SetBinding("F1","MOVEFORWARD"); [/code:1]
For a list of all the available actions open your Bindings-cache.wtf file in a text editor.
[code:1]/run SetBindingMacro("ALT-F1","NameOfYourMacro");[/code:1]
pretty self-explanatory. Bind any macro to a key. Does not take up a space on your default 120 buttons.
[code:1]/run SetBindingSpell("CTL-F1","SpellName");[/code:1]
Let's you set any spell in your spell book to to a key. You do not need to include the rank(although you can for things like rank 1 Arcane Explosion or Moonfire) and it will uprank as you level and downrank healing spells on lowbies correctly.
You need to run the following after you use SetBinding or your changes will be lost.
[code:1]/run SaveBindings(2)[/code:1]
The argument is 1 if you want to save these changes to your account-wide keybinding set or 2 if you want to save it to your character specific keybinding set.
Full example:
[code:1]/run SetBindingMacro("F1","MyTotemMacro");
/run SaveBindings(2);[/code:1]
This is the basis for how all the mods that give you hidden keybinds like Clique, Bindpad and so on work. If you are going to be doing a ton of modifying using one of those mods is easiest. For a quick bind here and there you can use the scripts above.
---------------------
If anyone could clearify to me the end of Junx's post where the discussion of saving from account to character comes to play. i would be greatful. I cant seem to decide what part of that code that he/she gave as an example indicates as to save to the toon specificly or to the account. :pinch: