Download
(5Kb)
Download
Updated: 04-27-09 04:43 PM
Pictures
File Info
Updated:04-27-09 04:43 PM
Created:unknown
Downloads:5,939
Favorites:75
MD5:

Goose  Popular! (More than 5000 hits)

Version: 1.6b
by: Alestane [More]

Goose is a simple state-based addon that dynamically hides selected chosen interface elements under the macro-able conditions of your choice. It's configured through the new Interface Options control panel. It can select frames based on a simple global name or a specific Lua identity.

1.5b - stripped out an issue with bad frame references.

1.3b - cleaned up a few more bad variable names.

1.2b - fixed that blasted InCombatLockDown bug.

1.1b - added a slash command for macro use:
/goose (open config)
/goose frame (unregister frame)
/goose frame conditions (register frame)

1.0b - Updated the add-on for the new Interface Options, and made it generically able to hide or show any frame on any conditions.
Optional Files (0)


Post A Reply Comment Options
Unread 05-24-07, 08:45 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1359
File comments: 829
Uploads: 55
Impressive work.

I'm sure this will set a trend
Report comment to moderator  
Reply With Quote
Unread 05-08-08, 08:56 AM  
Waverian
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 188
File comments: 33
Uploads: 8
Is there a way to override the events? I have a frame I'm hiding during combat but I'd like to be able to show it on demand with a keybind or something. Just calling frame:Show() doesn't work as you'd probably know since it seems to periodically checks for the conditionals.
Last edited by Waverian : 05-08-08 at 08:56 AM.
Report comment to moderator  
Reply With Quote
Unread 05-09-08, 06:52 AM  
Alestane
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 234
File comments: 58
Uploads: 13
Limited options

Originally posted by Waverian
Is there a way to override the events? I have a frame I'm hiding during combat but I'd like to be able to show it on demand with a keybind or something. Just calling frame:Show() doesn't work as you'd probably know since it seems to periodically checks for the conditionals.
Right now Goose doesn't support interactive visibility control. Designing a user interface to configure it would be a bear. It's incredibly easy to create automatic show/hide conditions for a frame and gets exponentially more complicated as soon as you try to support things like mouseover display.

However, I may make a /command to change conditions and then you could macro it.
Last edited by Alestane : 05-09-08 at 06:53 AM.
Report comment to moderator  
Reply With Quote
Unread 05-10-08, 05:23 AM  
Waverian
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 188
File comments: 33
Uploads: 8
Re: Limited options

Originally posted by Alestane
Right now Goose doesn't support interactive visibility control. Designing a user interface to configure it would be a bear. It's incredibly easy to create automatic show/hide conditions for a frame and gets exponentially more complicated as soon as you try to support things like mouseover display.
I completely understand, just making sure I wasn't missing something. I'll still be using this in my next ui project so thanks for the development. Definitely wouldn't be against a command for on the go modification though. :P
Report comment to moderator  
Reply With Quote
Unread 07-08-08, 05:23 PM  
Shefki
An Aku'mai Servant
 
Shefki's Avatar
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 175
Uploads: 10
Line 94 of Goose.xml has:
if InCombatLockDown() then

function name is actually InCombatLockdown() note the case.
Report comment to moderator  
Reply With Quote
Unread 07-09-08, 06:37 AM  
Alestane
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 234
File comments: 58
Uploads: 13
Originally posted by Shefki
Line 94 of Goose.xml has:
if InCombatLockDown() then

function name is actually InCombatLockdown() note the case.
The fix for this will be in the next upload.
Report comment to moderator  
Reply With Quote
Unread 09-17-08, 04:50 PM  
Voc
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
I'm going to start using this addon when WotLK hits (actually, when 3.0 hits). I'm currently using up all of my character specfic macro slots on two of my 70s... and I can already think of a few more macros I'd write based on the new spells/talents I'll be getting. Majority of my macros are cast conditions depending on modifier and target (harm/help/player), and this addon seems like it's going to solve my crazy macro creation just by creating common conditions and switching action bars accordingly!

With that said, I'm not all that familiar with global names of frames or specific Lua identity. For users of this addon (or even the other), can anyone show me some direction about possible other addons, macros, scripts, documentation on where I could identify the name of certain frames?

Thanks!
Report comment to moderator  
Reply With Quote
Unread 09-18-08, 06:35 AM  
Alestane
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 234
File comments: 58
Uploads: 13
Originally posted by Voc
With that said, I'm not all that familiar with global names of frames or specific Lua identity. For users of this addon (or even the other), can anyone show me some direction about possible other addons, macros, scripts, documentation on where I could identify the name of certain frames?
Right now, the best resources for finding frame names are mods like FluidFrames or the frame stack tool in Iriel's DevTools. That said, I may add a visual selection tool to Goose to allow you to select frames by clicking on them.
Report comment to moderator  
Reply With Quote
Unread 09-20-08, 02:54 PM  
Voc
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
If I wanted to Show or Hide page 2 on the action bar (planning on doing this for all the pages) when I have [mod:alt] show; hide

What's the frame name for that? I tried using DevTools, but it just returns the name of the action bar and not the actual page.

Thanks in advance!
Report comment to moderator  
Reply With Quote
Unread 09-20-08, 05:43 PM  
Alestane
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 234
File comments: 58
Uploads: 13
Originally posted by Voc
If I wanted to Show or Hide page 2 on the action bar (planning on doing this for all the pages) when I have [mod:alt] show; hide

What's the frame name for that? I tried using DevTools, but it just returns the name of the action bar and not the actual page.
I may not be understanding you right; the different "pages" of the main action bar don't actually have different names. The same bar and buttons are reused for all six pages, but they update themselves to show different actions according to which page is designated as current.
Report comment to moderator  
Reply With Quote
Unread 03-14-09, 07:08 PM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 642
Uploads: 4
You should check out this page. I think you could write some complicated things to get this done, such as:

[actionbar:1,mod:alt] [actionbar:2,mod:alt] [actionbar:3,mod:alt] [actionbar:4,mod:alt] [actionbar:5,mod:alt]

but I don't know if there is a character limit to goose's conditionals. Anyway, this should be all the conditionals that goose can interact with.
Last edited by xtoq : 03-14-09 at 07:10 PM.
Report comment to moderator  
Reply With Quote
Unread 04-06-09, 04:32 PM  
bigjohn
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I'm having problems with this addon where it will only save up to 3 entries. If I add any more, it just deletes the old ones.

I worked around this by adding entries myself in the lua file in savedvariables, and then setting it to read-only. But obviously this is a less than optimal solution. I'm guessing that something changed in the latest patch? dunno

Pretty nice addon overall.
Report comment to moderator  
Reply With Quote
Unread 04-28-09, 05:03 AM  
Highend
A Murloc Raider

Forum posts: 5
File comments: 35
Uploads: 0
Could I hide tooltips with goose?

I find the tooltip of recount very annoying (that pops up when I hover with the mouse over a combatant). Would be glad if I can get rid of it...
Report comment to moderator  
Reply With Quote
Unread 04-28-09, 11:15 AM  
Alestane
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 234
File comments: 58
Uploads: 13
Originally posted by Highend
Could I hide tooltips with goose?
The answer is, "Sort of". Goose uses a constantly refreshed state driver system that's part of WoW, but it can't actually prevent frames from being shown, so they may flicker on occasionally.

If you want to try, you can add the frame's Lua identifier to Goose with a conditional that just says "hide".
Report comment to moderator  
Reply With Quote
Unread 04-28-09, 12:01 PM  
Highend
A Murloc Raider

Forum posts: 5
File comments: 35
Uploads: 0
Originally posted by Alestane
The answer is, "Sort of". Goose uses a constantly refreshed state driver system that's part of WoW, but it can't actually prevent frames from being shown, so they may flicker on occasionally.

If you want to try, you can add the frame's Lua identifier to Goose with a conditional that just says "hide".
Thanks for the explantion. Unfortunately I wasn't able to find out the identifier for the tooltip (frame)

I tried it with a macro (/script DEFAULT_CHAT_FRAME:AddMessage( GetMouseFocus():GetName() ) but this shows me only the mainframe name.

Regards,
Highend
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.