Close
Page 2 of 2 FirstFirst 1 2
Showing results 11 to 16 of 16
  1. #11

    Default

    lol i already knew how to do the cross thing, the macro/script that im trying to make will allow a line formation
    Your Reality Is Only A Figment Of My Imagination.....

    OHHHH Bunnies!!

  2. #12

    Default

    Quote Originally Posted by 'Yo-Yo Freak',index.php?page=Thread&postID=179930#post179 930
    I am sorry if i offended you in any way, i did not want to nor mean to. i was only stating that it sounded a lot like something a previous poster on these forums has done, not exactly the same but similar.

    i honestly hope this all works out and i look forward to seeing what you guys/gals come up with! even if it does get rejected its always fun too see how inventive people can be. and who knows, maybe if it doesn't work out it will help somebody else figure out something along the lines of what you are trying to accomplish that isn't against the ToS. i hope i did not offend you or anything of the sort, if i did so then i apologize.

    ~YYF
    I wasnt offended at all i knew exactly where you where coming fom
    Your Reality Is Only A Figment Of My Imagination.....

    OHHHH Bunnies!!

  3. #13

    Default 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())
    �Author of HotkeyNet and Mojo

  4. #14

    Default

    That looks like it will bind a key to a macro, I think he's looking for for a way to change the key bindings for general things like movement, which might be this:

    From wowwiki:

    SetBinding("key"[, "command"]) - Sets or unsets key bindings. (2.0 - Can not be used in combat.)

    Arguments
    (String key, String command)
    key
    (string) Key name of the key to bind (e.g. W, CTRL-F, BUTTON2). As of 1.6 there is now error checking on this value so random strings for key names won't work anymore.
    command
    (string) Command name to execute when the key is pressed (e.g. MOVEFORWARD, TOGGLECHARACTER0). This argument is optional. If not included, the function will un-bind the key argument. Also, using an invalid command will also un-bind the key specified.
    I'm thinking the main problem with this one would be the "Can not be used in combat." part.
    WoW chars: Aboronic Phlayora Phlayorb Phlayore Abahron
    Earthen Ring - US - Alliance
    How to ask questions

  5. #15

    Default

    freddie, Aboron

    Thanks for those script codes I'll take a deeper look into them to see if we can use them. But as you said Aboron the out of combat part will casuse a problem. Should it turn out we cant get one to work while in combat so be it, but who knows! =]

    anyone know if while using this script supplied by freddie if we can alter it as ill show below the script.

    /script SetBindingMacro("KEY", "macroname")

    /script SaveBindings(GetCurrentBindingSet())


    the altered script



    /script SetBinding("KEY", "name of movement function here")

    /script SaveBindings(GetCurrentBindingSet())

    as you can see i removed the word macro fomr the original script and ovbiously where i put name of function here put in the technical language for the movement function where i dindicated I.E. like "Strafe Left" or "Strafe Right" and "Backwards" but im sure there is a code written in.

    When you go to your key bindings area, the bindings are split in sections i think some of them are named litterly Movement and some other things.

    ATM im at work can someoen rip open there wow and list the names of the segments in the key bindings area. each section is cut off with a line if i remember correctly. The only ones i belive i would need if you do this, are the names of the segments that strafe left/right/ backwards. Along with the name of the segment that the key bindings for i think its specified as Right Action Bar 2 and 1. No one needs to do this if you have any extra time it would be much appreciated. :thumbsup:

    Section name for movement keys
    Specific name for strafe left/right and move backwards

    Specific name for action bar key bindings segment.
    specific name for the Action bars 1-2 that are on the right side going vertical on the screen.
    i think its "Side Action Bar 1/Side Action Bar 2"

    BTW all who contribute to this project would just like to say thanks. =]
    Your Reality Is Only A Figment Of My Imagination.....

    OHHHH Bunnies!!

  6. #16

    Default 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. inch:
    Your Reality Is Only A Figment Of My Imagination.....

    OHHHH Bunnies!!

Similar Threads

  1. Need Script to change Keybinding (Interact Key)
    By Mikey in forum Macros and Addons
    Replies: 8
    Last Post: 05-01-2009, 02:35 PM
  2. Changing WoW keybinds on the fly?
    By RogueLover in forum Macros and Addons
    Replies: 5
    Last Post: 10-30-2008, 08:32 PM
  3. AHK script help (on the fly main change)
    By hotsuma in forum New Multi-Boxers & Support
    Replies: 6
    Last Post: 08-13-2008, 12:05 AM
  4. saving keybinds
    By sodium in forum Software Tools
    Replies: 2
    Last Post: 05-25-2008, 03:44 PM
  5. [WoW] Keybinds
    By Olibri in forum General WoW Discussion
    Replies: 0
    Last Post: 08-24-2007, 12:00 PM

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •