TooltipItemIcon Slash Commands

/tooltipitemicon <command>
or
/ttii <command>



*** Global Commands

/ttii reset
Resets all the saved variables to the default settings. This will change to Frame mode, and delete any saved location settings for tooltips (but will not move any icon frame locations until the User Interface is reloaded).

/ttii frame
Change to Frame mode - attaches the icon as a mini frame outside the tooltip. This is the default mode.

/ttii inside
Change to Inside mode - places the icon inside the tooltip, near the top right corner.

/ttii background
Change to Background mode - stretches the icon and uses it as a background for the tooltip.

/ttii size <number>
(Frame and Inside modes only)
Sets the size of the icon. <number> must be 1 or more. Defaults are 39 for Frame mode and 25 for Inside mode.

/ttii alpha <number>
(Frame and Background modes only)
Sets the transparency of the icon/background. <number> must be between 0 and 1. 0 is invisible. 1 is fully opaque. Default is 0.45 for Background mode and 1 for Frame mode.



*** Tooltip Commands

/ttii <tooltip name> <location code>
(Frame mode only)
Moves the icon frame to a new location around the specified tooltip, for example at the top right or at the bottom. The new location is saved for that tooltip.

<tooltip name> may be either the exact name of the tooltip or a 'template name'. A template name can be used to change multiple tooltips at the same time. This only works for a set of tooltips that have the same basic name but end in a different number, e.g. shoppingtooltip1 and shoppingtooltip2.
A template name consists of all the characters before the number, in this case shoppingtooltip

Common tooltip names:
gametooltip: the default popup tooltip that appears when you mouse over something
itemreftooltip: the default tooltip that appears when you click on a link in chat
shoppingtooltip1, shoppingtooltip2: the two default 'comparison' tooltips

<location code> must be one of the following codes:
lefttop: on the left, near the top
righttop: on the right, near the top
topleft: on top, at the left hand side
topright: on top, at the right hand side
topcenter: on top, in the middle (note the spelling of 'center')
bottomleft: at the bottom, on the left hand side
bottomright: at the bottom, on the right hand side
bottomcenter: at the bottom, in the middle
default: clears any previously saved location for this tooltip - however the icon will not be moved until the User Interface is reloaded

/ttii all <location code>
(Frame mode only)
Applies the <location code> to all known tooltips

/ttii screen <location code>
(Frame mode only)
Applies the <location code> to all tooltips currently visible on screen

/ttii compare <location code>
(Frame mode only)
Applies the <location code> to all known compare-type tooltips


/ttii <tooltip name> <action>
/ttii all <action>
/ttii screen <action>
(All modes)

<action> is one of:

off : Disable the icon for the specified tooltip(s). This setting is saved for each tooltip. Immediately hides the icon.

on : Enable the icon for the specified tooltip(s). Removes the 'off' setting from the saved settings. Icon will be shown when the tooltip is next opened.

reset : Clear all saved settings for the specified tooltip(s), including on/off setting and location setting. Tooltip frames will return to the default location when the User Interface is reloaded.


/ttii compare reset
Works as above for all known compare tooltips

/ttii compare on|off
Enable or disable icons on all compare-style tooltips. This setting is saved Globally (not for each tooltip).


*** Notes

Commands are not case sensitive.

Some settings require a reload of the User Interface to take effect. There are several ways to do this:
1) Log out and log back in. Slow but sure.
2) use the command '/console reloadui'
3) Some other AddOns provide a button or function to reload the UI


 