Discussion:
Hide/Show helm
(too old to reply)
twk
2011-07-20 15:07:03 UTC
Permalink
I have a simple macro I found on the web (or maybe found it here)
to Hide/Show helms on my characters:
/run ShowHelm(not ShowingHelm())
It works great, I keep in on my secondary button bar.

Is there any way to incorporate this into a larger macro?
For example,
I'd like to show the fishing hat, and hide the coif below.

/equip [button:1] Chief Brigadier Coif
/equip [button:2] Weather-Beaten Fishing Hat

I can't figure out how to do this.

This sort of works,
Left-click puts on the Coif,
Right-click puts on the Fishing Hat,

/run ShowHelm(not ShowingHelm())
/equip [button:1] Chief Brigadier Coif
/equip [button:2] Weather-Beaten Fishing Hat

But I have to Left or Right-click twice to toggle the Hide/Show function.

Left-click puts on the Coif, but doesn't hide it,
I have to left-click again to hide it.
Right-click puts on the fishing hat, but doesn't show it.
I have to right-click again to show it.
It's usable, but annoying.
--
Not sent through any particular network from any pompous smart phone.
Steve Kaye
2011-07-20 15:17:02 UTC
Permalink
Post by twk
I have a simple macro I found on the web (or maybe found it here)
/run ShowHelm(not ShowingHelm())
It works great, I keep in on my secondary button bar.
Is there any way to incorporate this into a larger macro?
For example,
I'd like to show the fishing hat, and hide the coif below.
/equip [button:1] Chief Brigadier Coif
/equip [button:2] Weather-Beaten Fishing Hat
I can't figure out how to do this.
This sort of works,
Left-click puts on the Coif,
Right-click puts on the Fishing Hat,
/run ShowHelm(not ShowingHelm())
/equip [button:1] Chief Brigadier Coif
/equip [button:2] Weather-Beaten Fishing Hat
But I have to Left or Right-click twice to toggle the Hide/Show function.
Left-click puts on the Coif, but doesn't hide it,
I have to left-click again to hide it.
Right-click puts on the fishing hat, but doesn't show it.
I have to right-click again to show it.
It's usable, but annoying.
I don't know why the above macro wouldn't work except for the fact
that it can get out of sequence with your hat choice. For example, if
you are hiding the Coif and left click it by mistake, it would keep
the Coif but show it.

You could try this instead:

/run [button:1] ShowHelm(false)
/equip [button:1] Chief Brigadier Coif
/run [button:2] ShowHelm(true)
/equip [button:2] Weather-Beaten Fishing Hat

steve.kaye
--
Jelan, 85 Priest Clokk, 81 Druid Belugar, 76 Warrior
Kibbs, 83 Paladin Jengu, 81 Death Knight Mingan, 76 Shaman
Miho, 82 Rogue Jaille, 80 Warlock Aloola, 65 Mage
[ Ravenholdt-EU (Horde) ] Yopp, 64 Hunter
twk
2011-07-20 17:16:54 UTC
Permalink
Post by Steve Kaye
Post by twk
I have a simple macro I found on the web (or maybe found it here)
/run ShowHelm(not ShowingHelm())
It works great, I keep in on my secondary button bar.
Is there any way to incorporate this into a larger macro?
For example,
I'd like to show the fishing hat, and hide the coif below.
/equip [button:1] Chief Brigadier Coif
/equip [button:2] Weather-Beaten Fishing Hat
I can't figure out how to do this.
This sort of works,
Left-click puts on the Coif,
Right-click puts on the Fishing Hat,
/run ShowHelm(not ShowingHelm())
/equip [button:1] Chief Brigadier Coif
/equip [button:2] Weather-Beaten Fishing Hat
But I have to Left or Right-click twice to toggle the Hide/Show function.
Left-click puts on the Coif, but doesn't hide it,
I have to left-click again to hide it.
Right-click puts on the fishing hat, but doesn't show it.
I have to right-click again to show it.
It's usable, but annoying.
I don't know why the above macro wouldn't work except for the fact
that it can get out of sequence with your hat choice. For example, if
you are hiding the Coif and left click it by mistake, it would keep
the Coif but show it.
/run [button:1] ShowHelm(false)
/equip [button:1] Chief Brigadier Coif
/run [button:2] ShowHelm(true)
/equip [button:2] Weather-Beaten Fishing Hat
steve.kaye
Thanks, that's similar to a version I tried but didn't work either.
I get the following UI errors and have to "/console reloadui":

Error occured in: Global
Count: 1
Message: [string "[button:1] ShowHelm(false)"] line 1:
unexpected symbol near '['

Error occured in: Global
Count: 1
Message: [string "[button:2] ShowHelm(true)"] line 1:
unexpected symbol near '['

It's as if macro commands like "/run ShowHelm(not ShowingHelm())" and
similar won't work with a [button:X] thrown in.
--
Not sent through any particular network from any pompous smart phone.
Steve Kaye
2011-07-21 07:15:19 UTC
Permalink
Post by twk
Post by Steve Kaye
Post by twk
I have a simple macro I found on the web (or maybe found it here)
/run ShowHelm(not ShowingHelm())
It works great, I keep in on my secondary button bar.
Is there any way to incorporate this into a larger macro?
For example,
I'd like to show the fishing hat, and hide the coif below.
/equip [button:1] Chief Brigadier Coif
/equip [button:2] Weather-Beaten Fishing Hat
I can't figure out how to do this.
This sort of works,
Left-click puts on the Coif,
Right-click puts on the Fishing Hat,
/run ShowHelm(not ShowingHelm())
/equip [button:1] Chief Brigadier Coif
/equip [button:2] Weather-Beaten Fishing Hat
But I have to Left or Right-click twice to toggle the Hide/Show function.
Left-click puts on the Coif, but doesn't hide it,
I have to left-click again to hide it.
Right-click puts on the fishing hat, but doesn't show it.
I have to right-click again to show it.
It's usable, but annoying.
I don't know why the above macro wouldn't work except for the fact
that it can get out of sequence with your hat choice. For example, if
you are hiding the Coif and left click it by mistake, it would keep
the Coif but show it.
/run [button:1] ShowHelm(false)
/equip [button:1] Chief Brigadier Coif
/run [button:2] ShowHelm(true)
/equip [button:2] Weather-Beaten Fishing Hat
steve.kaye
Thanks, that's similar to a version I tried but didn't work either.
Error occured in: Global
Count: 1
unexpected symbol near '['
Error occured in: Global
Count: 1
unexpected symbol near '['
It's as if macro commands like "/run ShowHelm(not ShowingHelm())" and
similar won't work with a [button:X] thrown in.
Hmmm, I thought that worked. :(

You could try this:

/run ShowHelm(GetMouseButtonClicked()=="LeftButton")
/equip [button:1] Chief Brigadier Coif
/equip [button:2] Weather-Beaten Fishing Hat

steve.kaye
--
Jelan, 85 Priest Clokk, 81 Druid Belugar, 76 Warrior
Kibbs, 83 Paladin Jengu, 81 Death Knight Mingan, 76 Shaman
Miho, 82 Rogue Jaille, 80 Warlock Aloola, 65 Mage
[ Ravenholdt-EU (Horde) ] Yopp, 64 Hunter
twk
2011-07-21 15:22:56 UTC
Permalink
Post by Steve Kaye
Post by twk
Post by Steve Kaye
Post by twk
I have a simple macro I found on the web (or maybe found it here)
/run ShowHelm(not ShowingHelm())
It works great, I keep in on my secondary button bar.
Is there any way to incorporate this into a larger macro?
For example,
I'd like to show the fishing hat, and hide the coif below.
/equip [button:1] Chief Brigadier Coif
/equip [button:2] Weather-Beaten Fishing Hat
I can't figure out how to do this.
This sort of works,
Left-click puts on the Coif,
Right-click puts on the Fishing Hat,
/run ShowHelm(not ShowingHelm())
/equip [button:1] Chief Brigadier Coif
/equip [button:2] Weather-Beaten Fishing Hat
But I have to Left or Right-click twice to toggle the Hide/Show function.
Left-click puts on the Coif, but doesn't hide it,
I have to left-click again to hide it.
Right-click puts on the fishing hat, but doesn't show it.
I have to right-click again to show it.
It's usable, but annoying.
I don't know why the above macro wouldn't work except for the fact
that it can get out of sequence with your hat choice. For example, if
you are hiding the Coif and left click it by mistake, it would keep
the Coif but show it.
/run [button:1] ShowHelm(false)
/equip [button:1] Chief Brigadier Coif
/run [button:2] ShowHelm(true)
/equip [button:2] Weather-Beaten Fishing Hat
steve.kaye
Thanks, that's similar to a version I tried but didn't work either.
Error occured in: Global
Count: 1
unexpected symbol near '['
Error occured in: Global
Count: 1
unexpected symbol near '['
It's as if macro commands like "/run ShowHelm(not ShowingHelm())" and
similar won't work with a [button:X] thrown in.
Hmmm, I thought that worked. :(
/run ShowHelm(GetMouseButtonClicked()=="LeftButton")
/equip [button:1] Chief Brigadier Coif
/equip [button:2] Weather-Beaten Fishing Hat
steve.kaye
Cool, you reminded of something that fixed a friends macro.
That works... Sort of, but it's working better.
I had to change (GetMouseButtonClicked()=="LeftButton")
to (GetMouseButtonClicked()=="RightButton")
No biggie there.

I still have my original problem with this, or half of the problem.
A right-click puts on the fishing hat perfectly, showing it every time.
A left-click puts on the coif, but I have to left-click again to get it
to hide. Is that weird or what?

Thanks for the help Steve, I don't want anyone putting too much thought
into this. It's not that big of a deal, and I'm running low on game time
this week. Unfortunately if the macro gets too much bigger I'll hit the
255 character limit and won't be able to swap his fishing pole and his
mace in the same macro.

I still have (for example) "item:33820"
instead of "Weather-Beaten Fishing Hat" to shorten things up.
--
Not sent through any particular network from any pompous smart phone.
Steve Kaye
2011-07-22 07:45:18 UTC
Permalink
Post by twk
Thanks for the help Steve, I don't want anyone putting too much thought
into this. It's not that big of a deal, and I'm running low on game time
this week.
:) No problem. I like tinkering with macros and stuff.
Post by twk
Unfortunately if the macro gets too much bigger I'll hit the
255 character limit and won't be able to swap his fishing pole and his
mace in the same macro.
I still have (for example) "item:33820"
instead of "Weather-Beaten Fishing Hat" to shorten things up.
You could create a fishing set and a non fishing set in the equipment
manager and use UseEquipmentSet() something like this

/script if GetMouseButtonClicked()=="LeftButton" then ShowHelm(false)
UseEquipmentSet("NoFish") else ShowHelm(true) UseEquipmentSet("Fish")
end

That has the benefit of being shorter and allowing you to use the UI
to change the sets instead of editing the macro each time you get an
upgrade.


steve.kaye
--
Jelan, 85 Priest Clokk, 81 Druid Belugar, 76 Warrior
Kibbs, 83 Paladin Jengu, 81 Death Knight Mingan, 76 Shaman
Miho, 82 Rogue Jaille, 80 Warlock Aloola, 65 Mage
[ Ravenholdt-EU (Horde) ] Yopp, 64 Hunter
twk
2011-07-23 13:47:57 UTC
Permalink
Post by Steve Kaye
Post by twk
Thanks for the help Steve, I don't want anyone putting too much thought
into this. It's not that big of a deal, and I'm running low on game time
this week.
:) No problem. I like tinkering with macros and stuff.
Post by twk
Unfortunately if the macro gets too much bigger I'll hit the
255 character limit and won't be able to swap his fishing pole and his
mace in the same macro.
I still have (for example) "item:33820"
instead of "Weather-Beaten Fishing Hat" to shorten things up.
You could create a fishing set and a non fishing set in the equipment
manager and use UseEquipmentSet() something like this
/script if GetMouseButtonClicked()=="LeftButton" then ShowHelm(false)
UseEquipmentSet("NoFish") else ShowHelm(true) UseEquipmentSet("Fish")
end
That has the benefit of being shorter and allowing you to use the UI
to change the sets instead of editing the macro each time you get an
upgrade.
steve.kaye
In Outfitter, I have a full fishing outfit (overalls, plaid shirt,
sandals...) for some of my toons. And I have simply the hat and pole
swap in Outfitter as well. But in an emergency, hitting a button on my
button bar is faster for me than going to the mini-map, click the tiny
icon, select my choice from the menu... By then a mob may have hit me
several times. Ha ha ha.

Clicking once to swap out a fishing pole for weapons is fine, and
clicking again to make the ugly helm disappear after a battle is not
that big of a deal. Thanks again, you've helped me shorten my macro.
--
Not sent through any particular network from any pompous smart phone.
Steve Kaye
2011-07-23 21:03:39 UTC
Permalink
Post by twk
Post by Steve Kaye
Post by twk
Thanks for the help Steve, I don't want anyone putting too much thought
into this. It's not that big of a deal, and I'm running low on game time
this week.
:) No problem. I like tinkering with macros and stuff.
Post by twk
Unfortunately if the macro gets too much bigger I'll hit the
255 character limit and won't be able to swap his fishing pole and his
mace in the same macro.
I still have (for example) "item:33820"
instead of "Weather-Beaten Fishing Hat" to shorten things up.
You could create a fishing set and a non fishing set in the equipment
manager and use UseEquipmentSet() something like this
/script if GetMouseButtonClicked()=="LeftButton" then ShowHelm(false)
UseEquipmentSet("NoFish") else ShowHelm(true) UseEquipmentSet("Fish")
end
That has the benefit of being shorter and allowing you to use the UI
to change the sets instead of editing the macro each time you get an
upgrade.
steve.kaye
In Outfitter, I have a full fishing outfit (overalls, plaid shirt,
sandals...) for some of my toons. And I have simply the hat and pole
swap in Outfitter as well. But in an emergency, hitting a button on my
button bar is faster for me than going to the mini-map, click the tiny
icon, select my choice from the menu... By then a mob may have hit me
several times. Ha ha ha.
Clicking once to swap out a fishing pole for weapons is fine, and
clicking again to make the ugly helm disappear after a battle is not
that big of a deal. Thanks again, you've helped me shorten my macro.
You can switch outfitter outfits from a macro:

/outfitter wear outfitname

You don't even need a non-fishing set because you can unwear the outfit
to put back what you had on before wearing it:

/outfitter unwear outfitname

Or you can just have one macro - click to put it on and click again to
take it off:

/outfitter toggle outfitname

Also, the outfit can be configured to set the show helm setting for you
so no need to add that to the macro.

steve.kaye
--
Jelan, 85 Priest Clokk, 81 Druid Belugar, 76 Warrior
Kibbs, 83 Paladin Jengu, 81 Death Knight Mingan, 76 Shaman
Miho, 82 Rogue Jaille, 80 Warlock Aloola, 65 Mage
[ Ravenholdt-EU (Horde) ] Yopp, 64 Hunter
twk
2011-07-24 05:35:38 UTC
Permalink
In article <j0fcvd$8nv$***@dont-email.me>,
Steve Kaye <***@giddy-kippers.co.uk> wrote:

Snip a bit.
Post by Steve Kaye
Post by twk
In Outfitter, I have a full fishing outfit (overalls, plaid shirt,
sandals...) for some of my toons. And I have simply the hat and pole
swap in Outfitter as well. But in an emergency, hitting a button on my
button bar is faster for me than going to the mini-map, click the tiny
icon, select my choice from the menu... By then a mob may have hit me
several times. Ha ha ha.
Clicking once to swap out a fishing pole for weapons is fine, and
clicking again to make the ugly helm disappear after a battle is not
that big of a deal. Thanks again, you've helped me shorten my macro.
/outfitter wear outfitname
You don't even need a non-fishing set because you can unwear the outfit
/outfitter unwear outfitname
Or you can just have one macro - click to put it on and click again to
/outfitter toggle outfitname
Also, the outfit can be configured to set the show helm setting for you
so no need to add that to the macro.
steve.kaye
I had no idea you could call Outfitter from a macro. That is too cool!
Yep, Outfitter does a nice job of show/hide helm & cloak, and it's good
at equipping dual, identical weapons... Hum, another macro problem you
may have solved for me. My lower lvl rogue has two identical BoA daggers
(with different enchants). It's been a PITA to get them equipped.

Thank you!
Dang I won't be able to try this out until late Sunday night.
--
Not sent through any particular network from any pompous smart phone.
twk
2011-07-26 04:19:48 UTC
Permalink
Post by twk
Snip a bit.
Snip a bit more.
Post by twk
Post by Steve Kaye
/outfitter wear outfitname
You don't even need a non-fishing set because you can unwear the outfit
/outfitter unwear outfitname
Or you can just have one macro - click to put it on and click again to
/outfitter toggle outfitname
Also, the outfit can be configured to set the show helm setting for you
so no need to add that to the macro.
steve.kaye
I had no idea you could call Outfitter from a macro. That is too cool!
Yep, Outfitter does a nice job of show/hide helm & cloak, and it's good
at equipping dual, identical weapons... Hum, another macro problem you
may have solved for me. My lower lvl rogue has two identical BoA daggers
(with different enchants). It's been a PITA to get them equipped.
Thank you!
Dang I won't be able to try this out until late Sunday night.
That is too cool. Macros calling Outfitter work like a charm. Now I can
swap my rogues pair of Sharpened Scarlet Kris's for a fishing pole with
a single click, and back again. AND I can hide/show my pally banker's
helm & fishing hat along with his mace & fishing pole.

You're a genius Steve. Ha ha ha. Thanks.

Nearly all my characters have at least one macro calling Outfitter.
If only I would have paid more attention to Outfitter's Abuser Guide.
Inside your WoW folder:
Interface/AddOns/Outfitter/Documentation/UsersManual.html
--
Not sent through any particular network from any pompous smart phone.
Steve Kaye
2011-07-26 06:23:49 UTC
Permalink
Post by twk
Post by twk
Snip a bit.
Snip a bit more.
Post by twk
Post by Steve Kaye
/outfitter wear outfitname
You don't even need a non-fishing set because you can unwear the outfit
/outfitter unwear outfitname
Or you can just have one macro - click to put it on and click again to
/outfitter toggle outfitname
Also, the outfit can be configured to set the show helm setting for you
so no need to add that to the macro.
steve.kaye
I had no idea you could call Outfitter from a macro. That is too cool!
Yep, Outfitter does a nice job of show/hide helm& cloak, and it's good
at equipping dual, identical weapons... Hum, another macro problem you
may have solved for me. My lower lvl rogue has two identical BoA daggers
(with different enchants). It's been a PITA to get them equipped.
Thank you!
Dang I won't be able to try this out until late Sunday night.
That is too cool. Macros calling Outfitter work like a charm. Now I can
swap my rogues pair of Sharpened Scarlet Kris's for a fishing pole with
a single click, and back again. AND I can hide/show my pally banker's
helm& fishing hat along with his mace& fishing pole.
You're a genius Steve. Ha ha ha. Thanks.
:blush: Thanks! :)
Post by twk
Nearly all my characters have at least one macro calling Outfitter.
If only I would have paid more attention to Outfitter's Abuser Guide.
Interface/AddOns/Outfitter/Documentation/UsersManual.html
That's where I got the info. I knew it could do it because I used to
use Outfitter quite a while ago. I checked with that manual to get the
info.

BTW, you can use conditions in the macros too. I used to have a macro
that would switch my warrior to defensive stance on the first click and
equip a shield on the second click. Something like this:

/outfitter [stance:2] wear Shield
/cast Defensive Stance

steve.kaye
--
Jelan, 85 Priest Clokk, 81 Druid Belugar, 76 Warrior
Kibbs, 83 Paladin Jengu, 81 Death Knight Mingan, 76 Shaman
Miho, 82 Rogue Jaille, 80 Warlock Aloola, 65 Mage
[ Ravenholdt-EU (Horde) ] Yopp, 64 Hunter
Loading...