4 replies [Last post]
Zwipple
Zwipple's picture
User offline. Last seen 2 years 18 weeks ago. Offline
Joined: 08/05/2009
Posts: 33

Greetings,

Need a bit of help using buttons assigned/bound using the addon Bartender4. I would like all the toons to use the following items with the press of a single key (per item). I know I can do this by going into broadcast mode, press the button, then press Esc. But simply pressing a single appropriate button would be more convenient, especially during combat.

Why not just execute “/use item” you might ask? Well, these items change often, depending on if I need to use the mega-stuff, good stuff, or just looted stuff and simply dropping the items on Bartender4 buttons is a lot easier than writing/selecting a new script/macro every time I change items.

Scenario:

I've seven buttons setup in Bartender4
Item -> Bartender4 Key-Bind
---------------------------
Mana Pot -> -
Heal Pot -> =
Drink Item -> Shift + -
Food Item -> Shift + =
Bandage -> Ctrl + =
Flying Mnt -> Page Up
Ground Mnt -> Page Down

I then set up GCP scripts for each of the item types above (named Mana, Health, Drink, etc.). Here's an example of the Mana script:

<<All>>
Hit -

I then bound the scripts to their appropriate button from the list above, Mana to -, Health to =, Drink to Shift + -, etc. Obviously this is when the problem began:
* It sorta worked for Mana and Health, all the toons down a mana/heal pot, but the main toon attempts to drink two (the Bartender4 bind, plus the Mana/Health script with <<All>> in it).
*The Drink, Food and Bandage scripts just create havoc, opening several WoW screens; looking for more, quest list, etc. or worse, attempting to attack.
*For the Mount keys, I've been unable to determine what the “name” to use for Page Up/Down in the script. I've tried PageUp, PgUp, etc.

Btw, I'm using “Shift+-” for example, as the “name” of the button in the scripts, is that correct? Is there a list somewhere of what all the buttons are called (Page Up for example) and how to mod (shift/ctrl/alt) them?

Hopefully there's already a method in GCP to handle this scenario and I've just overlooked it. If not, I guess I'm submitting a feature request.

Thanks in advance :)

Zwipple

PS. Sorry for the wall of text.

Jeremy
Jeremy's picture
User offline. Last seen 1 year 25 weeks ago. Offline
Joined: 06/14/2009
Posts: 268
I think the best method for

I think the best method for doing this would probably be:

<<All>>
Macro /click BT4Button1

Replace 1 with whatever the button is

__________________

GameCommanderPro Graphics Designer / Software Engineer

Zwipple
Zwipple's picture
User offline. Last seen 2 years 18 weeks ago. Offline
Joined: 08/05/2009
Posts: 33
You da man :)

<<All>>
Macro /click BT4Button1

Doh! I *knew* it'd be something simple :) Thank you. Also, I think I figured out how to deal with the "maintoon" executing it twice (the BT4 button press, and the GCP script press) by using four <<toon1>>'s instead of <<all>>, correct?

Thanks!

Jeremy
Jeremy's picture
User offline. Last seen 1 year 25 weeks ago. Offline
Joined: 06/14/2009
Posts: 268
Hits

Zwipple wrote:
Also, I think I figured out how to deal with the "maintoon" executing it twice (the BT4 button press, and the GCP script press) by using four <<toon1>>'s instead of <<all>>, correct?
Thanks!

That will fix it(except if you have your mouse over another wow window) though this shouldn't be happening in the first place so I will look into that further.

I would suggest unbinding the keys that are doing this and rebinding them.

__________________

GameCommanderPro Graphics Designer / Software Engineer

Zwipple
Zwipple's picture
User offline. Last seen 2 years 18 weeks ago. Offline
Joined: 08/05/2009
Posts: 33
Like a charm...

Jeremy wrote:
I would suggest unbinding the keys that are doing this and rebinding them.

That fixed it, went back to using <<All>> after rebind (Bartender's) and no more double click on maintoon. All toons are now "well fed". :)

Thank you again.