Download
(19Kb)
Download
Updated: 09-17-09 09:19 PM
Pictures
File Info
Updated:09-17-09 09:19 PM
Created:unknown
Downloads:4,273
Favorites:43
MD5:

LayMacroTooltip

Version: 1.4b
by: Layrajha [More]

This small addon allows the user to customize the tooltips displayed when mouseovering macro icons in an action bar. Without this addon, the base UI would only show the name of the macro.


You can install it by extracting the folder to your addon folder, as any other addon.


Tooltips for character-specific macros and for account macros are now saved separately. The new behavior can be summed up by this example:

- You have 3 characters: Alice, Bob and Charlie,
- You have a shared macro called "Mount" that Alice uses,
- Bob and Charlie both use a custom "Mount" macro, not the shared one.

What happens is that Alice will see the macro tooltip set for the shared version. Bob will see the macro tooltip for his personal Mount macro, and so will Charlie.



Known issues:

- 2 macros with the same name in the same category (character/account) will have the same tooltip

Please post about any bug you encounter and I will try to fix them as soon as I can. I am too lazy to spend hours testing my addons, so there are sometimes minor bugs in odd situations that I do not know about.



Change log:

1.4b:
- bug fix: an already customized tooltip no longer sometimes disappears from the editbox when you click it to start editing it
- another bug fix: renaming a macro no longer generates a lua error

1.4:
- tooltips for character-specific macros are stored per character, independently from account-wide macros
- unused tooltips are now deleted
- changing a macro's name will not make the user lose the tooltip associated to the macro
- corrected a bug in v1.3 where the macro tooltips would not show correctly until the macro window had been opened at least once after each login or /rl

1.3:
- fixed for the 3.2 client of the game
- some of the code is only executed when the macro frame is opened for the first time

1.2:
- included a GUI linked to the build-in macro frame
- removed the "/run" commands
- updated the .toc so that LayMacroTooltip isn't shown as "out of date" anymore
- restructured the whole code

1.1:
- minor change allowing a better display of long texts (automatic text wrap)

1.0:
- initial release

Post A Reply Comment Options
Unread 08-10-11, 10:44 AM  
k0ntrabandit
A Kobold Labourer

Forum posts: 1
File comments: 3
Uploads: 0
Idea for if you ever update this finally...

Using a LayMacroTooltip, automatically configure macros such as [I]"/Cast Shadow Bolt", "/Cast Heroic Throw", "/Cast Backstab"[/i] or [I]"/Cast Icy Touch"[/I]... to again, Automatically Configure the LayMacroTooltip to show the Mana, Runic Power, Energy, Focus, Rage, Combo Points, Holy Power, etc. it costs to use that Spell/Ability. This, and Not using up the already limited room of 255 letters...
Report comment to moderator  
Reply With Quote
Unread 08-09-11, 06:08 PM  
k0ntrabandit
A Kobold Labourer

Forum posts: 1
File comments: 3
Uploads: 0
Originally posted by k0ntrabandit
You NEED to update this addon for the most recent 4.2 patch. Without this addon my perfect RP/Questing/Raiding UI is incomplete. I run AudioX II, Bartender 4, SexyMap, Engraved... All of my addons are updated.... just not LayMacroTooltip.

LayMacroTooltip enhances my UI so much, it makes every toon feel different. Cuz i can make a macro that is only

/Cast Bloodthirst
/Script PlaySoundFile("Sound\\\ etc

basically, i can make a Warriors Bloodthirst have the same button as like.... the old DK ability Hysteria. Use AudioX II to have the macro that causes its own SFX to be heard. And LayMacroTooltip can allow me to give my own Macro...

my ability could be renamed, given a custom SFX, custom button icon, custom tooltip... it is really cool and keeps ugly buttons off my action bar... YOU MUST UPDATE FOR 4.2 CATA





...k. still need to update for Cata 4.2. My UI is crap without this addon. There is no addon i know of like it. Update the damn thing! ...please. lol
Report comment to moderator  
Reply With Quote
Unread 07-20-11, 01:21 PM  
k0ntrabandit
A Kobold Labourer

Forum posts: 1
File comments: 3
Uploads: 0
You NEED to update this addon for the most recent 4.2 patch. Without this addon my perfect RP/Questing/Raiding UI is incomplete. I run AudioX II, Bartender 4, SexyMap, Engraved... All of my addons are updated.... just not LayMacroTooltip.

LayMacroTooltip enhances my UI so much, it makes every toon feel different. Cuz i can make a macro that is only

/Cast Bloodthirst
/Script PlaySoundFile("Sound\\\ etc

basically, i can make a Warriors Bloodthirst have the same button as like.... the old DK ability Hysteria. Use AudioX II to have the macro that causes its own SFX to be heard. And LayMacroTooltip can allow me to give my own Macro...

my ability could be renamed, given a custom SFX, custom button icon, custom tooltip... it is really cool and keeps ugly buttons off my action bar... YOU MUST UPDATE FOR 4.2 CATA
Report comment to moderator  
Reply With Quote
Unread 03-12-10, 08:19 AM  
moddycss
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Addon broken for some reason

I had to downgrade the addon to 1.2 in order to make the addon work. (i dont display lua errors cus i get 42 or so when i log on. but all my addons work fine even besides the errors)

so there is something with 1.4 that doesn't work compared to 1.2
Report comment to moderator  
Reply With Quote
Unread 01-29-10, 09:25 PM  
bossmansmith
A Murloc Raider

Forum posts: 4
File comments: 73
Uploads: 0
is there a way to colored the added text either by changing the LUA or by adding some command in the text?
Report comment to moderator  
Reply With Quote
Unread 01-01-10, 04:42 PM  
seancwatson
A Cyclonian
 
seancwatson's Avatar
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 33
Uploads: 1
Thumbs up Use 1.2 For Patch 3.3

LMT 1.2 works error/problem free for Patch 3.3

http://www.wowinterface.com/download...6110&aid=35669

Enjoy
__________________
Report comment to moderator  
Reply With Quote
Unread 12-09-09, 11:54 AM  
samhain_whitefox
A Deviate Faerie Dragon
 
samhain_whitefox's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 12
File comments: 38
Uploads: 1
older version works

okay, i switched to one of the older versions of LayMacro, and the errors completely went away, it works perfectly now. okay?
__________________
a heart alone
a heart of stone.

a shattered love
a battered child.

innocence lost
at rending cost.
Report comment to moderator  
Reply With Quote
Unread 12-05-09, 11:04 AM  
samhain_whitefox
A Deviate Faerie Dragon
 
samhain_whitefox's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 12
File comments: 38
Uploads: 1
Link to all LayMacroTooltip Errors i receive

This doc shows all the errors i receive in relation to this addon.

http://viewer.zoho.com/docs/oMA6c
__________________
a heart alone
a heart of stone.

a shattered love
a battered child.

innocence lost
at rending cost.
Last edited by samhain_whitefox : 12-05-09 at 11:24 AM.
Report comment to moderator  
Reply With Quote
Unread 11-18-09, 01:59 PM  
AsheruWolf
Premium Member
 
AsheruWolf's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 131
File comments: 65
Uploads: 1
Sorry to post but this is currently giving errors:

Message: Interface\AddOns\LayMacroTooltip\Core.lua:107: attempt to index field 'EditBox' (a nil value)
Time: 11/18/09 14:58:22
Count: 1
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\AddOns\LayMacroTooltip\Core.lua:107: in function `ExitConfirmation'
Interface\AddOns\LayMacroTooltip\Core.lua:322: in function <Interface\AddOns\LayMacroTooltip\Core.lua:320>
[C]: in function `SetTexture'
...terface\AddOns\Blizzard_MacroUI\Blizzard_MacroUI.lua:89: in function <...terface\AddOns\Blizzard_MacroUI\Blizzard_MacroUI.lua:57>
[C]: in function `MacroFrame_Update'
...terface\AddOns\Blizzard_MacroUI\Blizzard_MacroUI.lua:22: in function <...terface\AddOns\Blizzard_MacroUI\Blizzard_MacroUI.lua:21>
[C]: ?
[C]: in function `Show'
Interface\FrameXML\UIParent.lua:1577: in function `SetUIPanel'
Interface\FrameXML\UIParent.lua:1422: in function `ShowUIPanel'
Interface\FrameXML\UIParent.lua:1315: in function <Interface\FrameXML\UIParent.lua:1311>
[C]: in function `SetAttribute'
Interface\FrameXML\UIParent.lua:1944: in function `ShowUIPanel'
...terface\AddOns\Blizzard_MacroUI\Blizzard_MacroUI.lua:12: in function `MacroFrame_Show'
Interface\FrameXML\UIParent.lua:339: in function `ShowMacroFrame'
Interface\FrameXML\ChatFrame.lua:1958: in function `?'
Interface\FrameXML\ChatFrame.lua:3508: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3177: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:3201: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals: name = nil
texture = nil
body = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'EditBox' (a nil value)"
glob = <table> {
LastMacroID = 0
Name = "LayMacroTooltip"
TextIsHelp = 2
Lock = false
Debug = 0
Version = "1.2"
}
fram = <table> {
}
func = <table> {
AddTooltip = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:144
RemoveTooltip = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:154
Update = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:123
RemoveAllButtonClick = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:396
ListMacros = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:168
EditBoxEscapePressed = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:386
ExitButtonClick = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:402
EditBoxOnFocus = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:405
LoadGUI = <function> defined @Interface\AddOns\LayMacroTooltip\GUI.lua:45
RemoveAll = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:160
AddButtonClick = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:399
RemoveButtonClick = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:389
About = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:237
ApplyPostHooksList = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:332
ExitConfirmation = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:105
InitializeAddon = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:354
Print = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:87
EditBoxTextChanged = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:378
PurgeUnused = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:187
SavedTableForMacroID = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:79
ConfirmNameChange = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:206
CheckLock = <function> defined @Interface\AddOns\LayMacroTooltip\Core.lua:97
}
__________________
The end is never really the end, its the start of something new...
Report comment to moderator  
Reply With Quote
Unread 10-29-09, 04:48 AM  
Egon
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Thanks we really appreciate your effort!
Report comment to moderator  
Reply With Quote
Unread 10-27-09, 04:51 PM  
Layrajha
A Frostmaul Preserver
 
Layrajha's Avatar
AddOn Author - Click to view AddOns

Forum posts: 275
File comments: 17
Uploads: 3
I'm sorry I've been so long to reply guys, I've just been very busy lately. I will take some time to fix that and make it work again as soon as I can next week.

Thank you for the detailed bug reports.
Last edited by Layrajha : 10-27-09 at 06:44 PM.
Report comment to moderator  
Reply With Quote
Unread 10-23-09, 09:45 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Also having errors:

[23:43:12] Interface\AddOns\LayMacroTooltip\Core.lua:120: attempt to index field 'SelectedMacroIcon' (a nil value)
[C]: ?
Interface\AddOns\LayMacroTooltip\Core.lua:120: in function `Update'
Interface\AddOns\LayMacroTooltip\Core.lua:219: in function <Interface\AddOns\LayMacroTooltip\Core.lua:218>
[C]: in function `MacroFrame_Update'
...terface\AddOns\Blizzard_MacroUI\Blizzard_MacroUI.lua:22: in function <...terface\AddOns\Blizzard_MacroUI\Blizzard_MacroUI.lua:21>
[C]: ?
[C]: in function `Show'
Interface\FrameXML\UIParent.lua:1577: in function `SetUIPanel'
Interface\FrameXML\UIParent.lua:1422: in function `ShowUIPanel'
Interface\FrameXML\UIParent.lua:1315: in function <Interface\FrameXML\UIParent.lua:1311>
[C]: in function `SetAttribute'
Interface\FrameXML\UIParent.lua:1944: in function `ShowUIPanel'
...terface\AddOns\Blizzard_MacroUI\Blizzard_MacroUI.lua:12: in function `MacroFrame_Show'
Interface\FrameXML\UIParent.lua:339: in function `ShowMacroFrame'
Interface\FrameXML\ChatFrame.lua:1958: in function `?'
Interface\FrameXML\ChatFrame.lua:3508: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3177: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:2275: in function <Interface\FrameXML\ChatFrame.lua:2268>
[C]: in function `RunMacroText'
Interface\FrameXML\SecureTemplates.lua:378: in function `handler'
Interface\FrameXML\SecureTemplates.lua:529: in function <Interface\FrameXML\SecureTemplates.lua:478>

And the addon button for accessing the textbox (where you type the macro description) no longer shows up in the macro window.
Report comment to moderator  
Reply With Quote
Unread 10-22-09, 01:01 PM  
miros
A Defias Bandit
 
miros's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 83
Uploads: 7
Code:
Message: Interface\AddOns\LayMacroTooltip\Core.lua:323: attempt to call field 'LoadGUI' (a nil value)
Time: 10/24/09 13:27:15
Count: 1
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:22: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: in function `LoadGUI'
Interface\AddOns\LayMacroTooltip\Core.lua:323: in function <Interface\AddOns\LayMacroTooltip\Core.lua:319>
[C]: in function `LoadAddOn'
Interface\AddOns\LayMacroTooltip\Core.lua:328: in main chunk

Locals: self = <unnamed> {
 0 = <userdata>
}
event = "ADDON_LOADED"
arg1 = "Blizzard_MacroUI"
(*temporary) = nil
(*temporary) = "attempt to call field 'LoadGUI' (a nil value)"
Code:
Message: Interface\AddOns\LayMacroTooltip\Core.lua:120: attempt to index field 'SelectedMacroIcon' (a nil value)
Time: 10/24/09 13:34:09
Count: 1
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
(tail call): ?
[C]: ?
Interface\AddOns\LayMacroTooltip\Core.lua:120: in function `Update'
Interface\AddOns\LayMacroTooltip\Core.lua:219: in function <Interface\AddOns\LayMacroTooltip\Core.lua:218>
[C]: in function `MacroFrame_Update'
...terface\AddOns\Blizzard_MacroUI\Blizzard_MacroUI.lua:22: in function <...terface\AddOns\Blizzard_MacroUI\Blizzard_MacroUI.lua:21>
[C]: ?
[C]: in function `Show'
Interface\FrameXML\UIParent.lua:1577: in function `SetUIPanel'
Interface\FrameXML\UIParent.lua:1422: in function `ShowUIPanel'
Interface\FrameXML\UIParent.lua:1315: in function <Interface\FrameXML\UIParent.lua:1311>
[C]: in function `SetAttribute'
Interface\FrameXML\UIParent.lua:1944: in function <Interface\FrameXML\UIParent.lua:1932>
[C]: in function `ShowUIPanel'
...terface\AddOns\Blizzard_MacroUI\Blizzard_MacroUI.lua:12: in function `MacroFrame_Show'
Interface\FrameXML\UIParent.lua:339: in function `ShowMacroFrame'
[string "*:OnClick"]:3: in function <[string "*:OnClick"]:1>

Locals:
As the next poster, I can't see the tooltip button. Hope this helps.
Last edited by miros : 10-24-09 at 05:41 AM.
Report comment to moderator  
Reply With Quote
Unread 10-14-09, 06:27 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Hi, I love this addon!

But I'm getting the following error:

Message: Interface\AddOns\LayMacroTooltip\Core.lua:323: attempt to call field 'LoadGUI' (a nil value)
Time: 10/14/09 20:25:27
Count: 1
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: in function `LoadGUI'
Interface\AddOns\LayMacroTooltip\Core.lua:323: in function <Interface\AddOns\LayMacroTooltip\Core.lua:319>
[C]: in function `LoadAddOn'
Interface\AddOns\LayMacroTooltip\Core.lua:328: in main chunk

Locals: self = <unnamed> {
0 = <userdata>
}
event = "ADDON_LOADED"
arg1 = "Blizzard_MacroUI"
(*temporary) = nil
(*temporary) = "attempt to call field 'LoadGUI' (a nil value)"
Report comment to moderator  
Reply With Quote
Unread 09-28-09, 05:46 AM  
Layrajha
A Frostmaul Preserver
 
Layrajha's Avatar
AddOn Author - Click to view AddOns

Forum posts: 275
File comments: 17
Uploads: 3
Thank you for the bug report. I haven't played much with the per-character saved settings much, I will look into it as soon as possible and try to fix that.
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.