1. #1
    Deleted

    Bartender 4 - Switch skills / keybinding via macro?

    Hello guys.

    I am using two different Item Sets (one Itemset for AE/Trash and one Itemset for Bossfights/Minibossfights) on my Fury Warrior while using Bartender 4 AddOn.

    While I use these different Itemsets, I use different skills, too.
    For AE = Whirlwind. For Singletarget = Furious Slash.


    What I would like to do with a Macro, is:

    Macro 1: Equip Itemset 1 AND change Keybind Button "4" (on Bar 1) to Keybind Button "Shift 4" (on Bar 2).
    Macro 2: Equip Itemset 2 AND change Keybind Button "Shift 4" (on Bar 2) to Button "4" (on Bar 1).

    Otherwise, this method would work for me, too:

    Macro 1: Equip Itemset 1 AND switch skill "Whirlwind" with skill "Furious Slash".
    Macro 2: Equip Itemset 2 AND switch "Furious Slash" with "Whirlwind".


    I already know how to Equip Itemsets via Macro, but I need to know how to change Keybinds or skills on assigned Buttons.

    I hope you understand what I want to achieve. Is there anything, that can help me?

    Thanks in advance.

  2. #2
    Deleted
    There is a macro conditional for switching action bars.
    /changeactionbar x
    x being the number of the bar you will switch to (you can use bar 1-6 for this)

    Set up two similar action bars with two different macros for button 4

    Bar 1:
    /cast [nomod] whirlwind
    /cast [mod:shift] furious slash

    Bar 2:
    /cast [nomod] furious slash
    /cast [mod:shift] whirlwind

    (make sure shift+4 is not bound to another button or these macros wont work)

    Then set up the macros for switching action bars and gear sets

    Macro 1:
    /equipset set1
    /changeactionbar 1

    Macro 2:
    /equipset set2
    /changeactionbar 2

    ps: afaik /changeactionbar does only work for the main(1) bar
    Last edited by mmoc2e5b8dbff7; 2017-04-27 at 10:39 PM.

  3. #3
    Maybe binder addon is good for you
    Youtube channel: https://www.youtube.com/c/djuntas ARPG - RTS - MMO

  4. #4
    Deleted
    Thanks for the quick replay, turtlefreak.
    But it seem not to work, since Bartender does not use the Bars of the standard Blizz UI but its own Bars.
    Nothing happens when I type /changeactionbar 1-6


    Thanks for the reply, Djuntas,
    I tried Binder AddOn, and it almost works like I need it. The only thing that disturbs me is, that I cant switch the Keybind-Profiles via Macro but have to open the Menu of the AddOn and select the Profile manually. By now I am faster by switching the Skills on the Bar manually than open the AddOn Menu and select a Profile.



    On Blizz-Forum I found this function:
    /run for i=1,4 do SetBinding("F"..i+8,"SHAPESHIFTBUTTON"..i)end
    I was hoping that someone can modify this to work with Bartender Bars.
    Something like this would work I think:
    /run for i=1,4 do SetBinding("BT4Button4"..i+8,"BT4Button18"..i)end
    BT4Button4 is the Name of the Bartender Button "4" on Bar 1. BT4Button18 is the Button "Shift+4" on Bartender Bar 2


    Thanks to all in advance.

  5. #5
    Deleted
    Thank you for the quick reply, turtlefreak.
    But /changeactionbars seems to work only with standard Blizz UI Bars.
    Bartender seems to use its own Bars, so this command doesnt change anything.


    Thanks for the reply, Djuntas.
    I tried Binder, but you can not Change profiles via Macro.
    I have to open the Menu of the AddOn and select a Profile with assigned Keybinds manually.
    By now I am way faster by switching the Skills on the Bar.



    Anyways, on the Blizzard Forums I found a function, which maybe could work for me, if somebody could change it to work with Bartender.
    The function looks like this:
    /run for i=1,4 do SetBinding("F"..i+8,"SHAPESHIFTBUTTON"..i)end
    So I thought it should be possible to adjust the Function to Switch Button "4" (called "BT4Button4" on Bartender) to button SHIFT-4 (called BT4Button18).

    I tried to change the function by myself but it doesnt seem to work on Bartender, too.
    Any advice?


    Thank you all in advance.

  6. #6
    Deleted
    Thank you for the quick reply, turtlefreak.
    But /changeactionbar x seems to work only with standard Blizz UI Bars.
    Bartender seems to use its own Bars, so this command doesnt do anything.


    Thanks for the reply, Djuntas.
    I tried Binder, but it is not pssible to change saved Keybind-Profiles via Macro or equipped Itemsets.
    I have to open the Menu of the AddOn and select a Profile with assigned Keybinds manually.
    By now I am way faster by switching the skills on the Bar by myself.



    Anyways, on the Blizzard Forums I found a function, which maybe could work for me, if somebody could change it to work with Bartender.
    The function looks like this:
    /run for i=1,4 do SetBinding("F"..i+8,"SHAPESHIFTBUTTON"..i)end
    So I thought it should be possible to adjust the Function to switch Button "4" (called "BT4Button4" on Bartender) to button SHIFT-4 (called BT4Button18).

    I tried to change the function by myself but it doesnt seem to work on Bartender, too.
    Any advice?


    Thank you all in advance.

  7. #7
    Deleted
    It works with bartender.
    Make sure you use bar one because only this one can be paged afaik.
    And of course bar paging has to be activated. /bt->bar1->state configuration-> tick "Enabled" and "Actionbar Paging"

    Make sure you don't have anything bound to "Action Page 1-6" and "Previous/Next Action Bar" in Key Bindings->Action Bar.
    Otherwise you could accidentally switch bars with shift 1-6 or shift mouse wheel.

  8. #8
    Deleted
    This worked very fine!

    Thank you good sir.

Posting Permissions

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