Download
(6Kb)
Download
Updated: 03-15-08 06:47 PM
Pictures
File Info
Updated:03-15-08 06:47 PM
Created:unknown
Downloads:3,437
Favorites:27
MD5:

Tooggle

Version: v1.5
by: Coldfury [More]

Wiki: http://www.wowace.com/wiki/Tooggle

= Tooggle =
First of all, this is my first public addon, so be clever .

Tooggle let you assign various frames to 5 buttons. Theses buttons will toggle if frames are Shown/Hided.

Exemple: If you have a panel with ur minimap/combatlog. You can set F1 to toggle Omen, Violation. F2 to toggle CombatLog, Minimap. Like that you can replace easily ur minimap/combatlog for Omen/Violation when raiding by pressing F2 to hide CombatLog/Minimap, then F1 to show Omen/Violation. Once ur done, press back F1 to hide Omen/Vio, then F2 to brink back CombatLog/Minimap.

New Feature: Mouse-over toggle mode.(like Dash)
It let you assign buttons to the mouse-over toggle frame.
These buttons toggle function will be launch when you mouse-over the frame.
The frame is 5px by 5px so you really need to go deep in that corner.
Default position is the TOPRIGHT corner. /tg corner [topleft | topright | bottomleft | bottomright] to change it.
** Buttons can be set to Special toggle mode AND to the mouse-over toggle at the same time!! **


Not So New Feature: Special toggle mode.
To explain whats is the Special Toggle mode:
Normal mode: the mod check if the 1st frame assigned to that button is visible, if it is, then it hide ALL the frames assigned to that button, if not, show ALL of them.
Special buttons: the mod will check independently every frame in that button. If frame1 is visible, then hide frame1, if not show it. If frame2 is visible then hide frame2, if not show it. etc..


== Usage ==

/tg or /tooggle for slash commands.
Available commands are clear | mouseover | special | list | add | remove. All these commands can be reduce to the first letter c | mo | s | l | a | r.
Available buttons are button1 up to button5. b1, b2, b3, b4, b5 works too.
Bindings are done in the default WoW Key Bindings menu.

==== Commands ====
Usage: /tg clear|c [button# or all]
"/tg clear button1" will clear button1 frames.
"/tg clear all" will clear all buttons frames.

Usage: /tg mess on/off
Will remove the "Tooggle: Button# frames Shown/Hided" messages.
Its OFF by default.

Usage: /tg list|l ["frames" or button#]
"/tg list frames" will list available frame names you can use.
"/tg l b3" will list the frames assigned to button3.

Usage: /tg add|a [button#] [framenames]
"/tg add button1 violation" will add violation frame to the button1 toggle list.
"/tg a b4 omen" will add omen frame to the button4 toggle list.
** NOTE: To add an eepanel, use /tg add [button#] eepanel [Panel#].**
** IE: /tg add b1 eepanel 12. the space between "eepanel" and the number is important **

Usage: /tg remove|r [button#] [frame# in /tg list]
Do a "/tg list button#" and get the # of the frame you wanna remove.
"/tg remove button5 4" will remove the 4th frames listed in button5 list
"/tg r b5 4" same result as above.

Usage: /tg special|s [button1-5]
"/tg special" will list the buttons toggle modes.
"/tg special" will reset all buttons toggle mode to Normal.
"/tg special button1" will toggle the toggle mode between Normal or Special.

Usage: /tg mouseover|mo [button1-5 or reset]
"/tg mouseover" will list which buttons are assigned to mouse-over toggle.
"/tg mo button1" will toggle button1 to mouse-over/keybindings toggle.
"/tg mo reset" will set back all frames to keybindings.
Note: buttons assigned to mouse-over toggle are still accessible through keybindings.

Usage: /tg corner [topleft | topright | bottomleft | bottomright | ?]
"/tg corner ?" will tell you where is the mouse-over toggle frame. topright by default.
"/tg corner topleft" will set the mouse-over toggle frame to the topleft corner of ur screen.

= Frames supported atm =
Use /tg list frames to get the correct name to use.
omen
violation
eavesdrop
chatframe1, chatframe2, chatframe3, chatframe4, chatframe5
minimap
damagemeters
recount
grid
bt3bar1, bt3bar2, bt3bar3, bt3bar4, bt3bar5, bt3bar6, bt3bar7, bt3bar8, bt3bar9, bt3bar10
nquestlog
trinketmenu
uberquestminion
eePanel# (use /tg add [button#] eepanel [panel#] :: like /tg add b1 eepanel 12)
assessment (only windows #1 atm, will add more if you want)
Elkano's Buffbars (ebb)
CML
SLTimex 2.0

More frames to come. If you have request/suggestion post them here or in the forums. http://www.wowace.com/forums/index.php?topic=9596.0

Planned Changed:
- Fix the reapearing chatframes bug.
- add separate EBB's groups support.
- Waterfall menu (will be in later)
- Environment driven toggle(like Raid, Party, BG, Arena, Major City)

v1.5
- Added SwStats support.(only windows #1 is there but you can easily add more)
- Major rewrite. Created their own function for each action for the upcoming GUI.

v1.4.1
- Added SLTimex 2.0 support. Removed old SLTimex support.
- Made /tg mess OFF by default.

v1.4
- Added Mouse-over toggle. see above for instructions.
- Fixed some Tooggle messages.
- Added the command "reset" to /tg mouseover and /tg special to reset back to default.
- Commented my code a bit.
- Added a Changelog.txt in the addon folder.


v1.3.1
-RE-fixed a bug where adding a eepanel to button2-5 added it to button1. i guess i didnt save the change when i last did it :(

v1.3
-Special toggle mode added. "/tg special [button1-5]" to toggle the toggle mode between Normal/Special.

v1.2.4:
-added CML/SLTimex support.

v1.2.3:
-fixed a bug where adding a eepanel to button2-5 added it to button1. Result of Ctrl-C/Ctrl-V lol.

v1.2.2:
-forgot to add eepanels support to button2-5 lol done now
-fixed some texts
-fixed a possible problem with /tg mess command.

v1.2.1:
-fixed some typo.

v1.2:
-eePanels support.
-Assessment support.(only added frame1, will add more if ppl wants it)
-Elkano's Buffbars support.(atm it hides all EBB's groups)
-Command to clear the buttons frames. (ie: /tg clear button1)
-Command to hide/show toggling messages. (/tg mess on/off)

v1.0beta:
-first release.
Post A Reply Comment Options
Unread 10-31-07, 12:02 AM  
Industrial
A Fallenroot Satyr
 
Industrial's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 88
Uploads: 13
A screenshot of how this COULD look would be nice
Report comment to moderator  
Reply With Quote
Unread 10-31-07, 12:15 AM  
Coldfury
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 78
Uploads: 3
Originally posted by Industrial
A screenshot of how this COULD look would be nice
The thing is there's nothing really to take a screenshot of.

But somebody told me that the description wasnt very so i updated it. I hope its a bit more clear of what this addons does.
Report comment to moderator  
Reply With Quote
Unread 10-31-07, 01:31 AM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 158
File comments: 281
Uploads: 5
Please forgive me...

For anyone who likes the premise of this mod, OnScreen does much the same thing, but on an event-driven basis. Anytime you enter / leave combat, automatically toggles between the two frame states available.

Check it out here: http://wowinterface.com/downloads/in...-OnScreen.html

ColdFury, please forgive me, I don't mean to steal your thunder. Just trying to raise awareness of similar, but unique implementation of the same idea.
Report comment to moderator  
Reply With Quote
Unread 10-31-07, 01:34 AM  
Coldfury
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 78
Uploads: 3
Re: Please forgive me...

Originally posted by Jzar
For anyone who likes the premise of this mod, OnScreen does much the same thing, but on an event-driven basis. Anytime you enter / leave combat, automatically toggles between the two frame states available.

Check it out here: http://wowinterface.com/downloads/in...-OnScreen.html

ColdFury, please forgive me, I don't mean to steal your thunder. Just trying to raise awareness of similar, but unique implementation of the same idea.
yeah np at all. I did this mod because OnScreen didnt has that feature. And you can easily run both mods since they are very low on memory. They make a good addition for each other.
Last edited by Coldfury : 10-31-07 at 01:36 AM.
Report comment to moderator  
Reply With Quote
Unread 10-31-07, 01:41 AM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 158
File comments: 281
Uploads: 5
Ironically, Tooggle's functionality is in the future plan for OnScreen (as soon as the courseload for the semester lightens up).

lol I'm also relieved to know I'm not going crazy. I thought it vaguely fishy that nothing like this has ever been done before, and then that Tooggle appears within two months of OnScreen's debut, supporting most of the same mods.

I'm glad to see that you liked the idea, and ran with it.
Report comment to moderator  
Reply With Quote
Unread 10-31-07, 03:08 AM  
Coldfury
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 78
Uploads: 3
Originally posted by Jzar
Ironically, Tooggle's functionality is in the future plan for OnScreen (as soon as the courseload for the semester lightens up).

lol I'm also relieved to know I'm not going crazy. I thought it vaguely fishy that nothing like this has ever been done before, and then that Tooggle appears within two months of OnScreen's debut, supporting most of the same mods.

I'm glad to see that you liked the idea, and ran with it.

yeah. actually it all started because Simpathy asked for a mod or something to toggle chat/panels on/off. So i wrote him a small mod to do that only, later he asked me to add functionnality and frames to it. I started talking about the idea with Wraanger(author of vMinimap) and he told me about OnScreen. I saw that you could do the same thing on combat/occ, and had a binding to toggle between the 2 set it at will, but it wasnt exaclty what Simpathy wanted, so i decided to write Tooggle for him and to learn how to use SavedVariables/SlashCommands and Tables. Tooggle was for me a way to learn and improve my coding experience way more then anything else.

I'm really a noob in lua still, and i woudnt know how to improve my code, so ill be adding more frames and maybe 1-2 options but thats it. If you plan on implenting it in OnScreen then nice Im pretty sure OnScreen is way better coded than Tooggle and i won't need to update it anymore so its all good :P
Report comment to moderator  
Reply With Quote
Unread 10-31-07, 04:27 AM  
Zyonin
Coffee powered Kaldorei
 
Zyonin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1443
File comments: 62
Uploads: 2
Hmm, this looks interesting. I will have to play with this once I get back in game.
__________________
Twitter
Report comment to moderator  
Reply With Quote
Unread 11-03-07, 09:17 AM  
Dejoblue
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 12
Uploads: 1
Thanx for this addon.

To others, this is easy to use and add frames yourself.

As an example I added the party frames to my button 5 toggle:

party1 = "PartyMemberFrame1",
party2 = "PartyMemberFrame2",
party3 = "PartyMemberFrame3",
party4 = "PartyMemberFrame4",

Left is what you want to type to assign the frame to a toggle, right is the actual name of the frame.

I placed this at the end of the local framenames.

To get the name of a frame, make a macro:

/print GetMouseFocus():GetName()

Enjoy and thanx again.
Last edited by Dejoblue : 11-03-07 at 09:17 AM.
Report comment to moderator  
Reply With Quote
Unread 11-03-07, 11:48 PM  
Coldfury
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 78
Uploads: 3
I will add shortly a "special" toggle state. It will make the button toggle frames individually instead of all frames in that button. Meaning that if you have omen shown, and violation hided, it will hide Omen and show Violation.

usage will be /tg special [button#]

what do you guys think?
Report comment to moderator  
Reply With Quote
Unread 11-04-07, 03:06 PM  
Icecoldcoke
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 132
File comments: 64
Uploads: 7
Originally posted by Coldfury
I will add shortly a "special" toggle state. It will make the button toggle frames individually instead of all frames in that button. Meaning that if you have omen shown, and violation hided, it will hide Omen and show Violation.

usage will be /tg special [button#]

what do you guys think?
Hmmm.. this addon sounds cool, it ends the random eePanels all over when certain things aren't there. I'll try it later.
Report comment to moderator  
Reply With Quote
Unread 11-05-07, 01:30 PM  
Nesquick
A Murloc Raider

Forum posts: 7
File comments: 11
Uploads: 0
thx for this <3
__________________
"Why did you gank him?"
"Because he ganked me..."
"God once said you have to forgive... Ever considered that?"
"Yea, forgiveness is between them and God... I arrange the meetings."
Report comment to moderator  
Reply With Quote
Unread 11-05-07, 03:29 PM  
Coldfury
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 78
Uploads: 3
Coming soon:
- CML/SLTimex support.
- Special toggle state.

EDIT: both added already
Last edited by Coldfury : 11-07-07 at 12:47 PM.
Report comment to moderator  
Reply With Quote
Unread 11-10-07, 04:51 AM  
Coldfury
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 78
Uploads: 3
OK Guys,

I added the mouse-over toggle mode like Dash as requested. Tell me what you think about it.


1 question i was asking myself is, is it best to mouse-over once, show frames, mouse-over another time, hide frames. or show while mouse-over, and hide on mouse out?


comments, feedback, suggestions always welcome
Report comment to moderator  
Reply With Quote
Unread 11-15-07, 06:12 PM  
Rigorous
Noggenfogger Anonymous
 
Rigorous's Avatar

Forum posts: 420
File comments: 14
Uploads: 0
10/10!

5 stars!
__________________
"I guess I kinda lost control, because in the middle of the play I ran up and lit the evil puppet villain on fire. No, I didn't. Just kidding. I just said that to help illustrate one of the human emotions, which is freaking out. Another emotion is greed, as when you kill someone for money, or something like that. Another emotion is generosity, as when you pay someone double what he paid for his stupid puppet." - Jack Handy
Report comment to moderator  
Reply With Quote
Unread 11-23-07, 06:46 AM  
Kelem
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 118
Uploads: 2
I'd like to request XRS be added to the list of supported frames to hide/unhide
Primary use for me is to go from pvp to pve mode, hiding the things I don't want in pvp, such as recount, omen and xrs, but showing things like capping and proximo
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: