This addon will let you to inform user using:
don't forget to check example skin
• Message Box
don't forget to check example skin
msgbox.jpg
Options:[ButtonMeterStyle]
SolidColor=#GUI_OT_COLOR#49
W=200
H=32
FontColor=28,28,28
StringStyle=BOLD
FontSize=9
StringEffect=SHADOW
FontEffectColor=128,128,128,50
StringAlign=CENTERCENTER
FontFace=Consolas
AntiAlias=1
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor #GUI_OT_COLOR#][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor #GUI_OT_COLOR#49][!UpdateMeter #CURRENTSECTION#][!Redraw]
[MeterButton]
Meter=String
X=(#GUI_X#+104)
Y=16R
MeterStyle=ButtonMeterStyle
Text="Show Example"
LeftMouseDownAction=["#@#InformMe.exe" msgbox <Title="Here is a Message Box Title"\> <Text="Here is a Message Box Text with Ok and Cancel"\> <Flag=1\> <OnOKAction=["notepad" /A "#CURRENTPATH#Includes\Ok.txt"]\> <OnCancelAction=["notepad" /A "#CURRENTPATH#Includes\Cancel.txt"]\>]
<Title= title of the Message Box (quotes required <Title="Here is a Message Box Title"\>) \>
<Text= text of the Message Box (quotes required) \>
<Flag= option to control appearance of message box, buttons and icon. If you need to have an icon and buttons then simply combine options e.g. 19 means Message box with Yes, No, and Cancel buttons (16) and Stop-sign icon (3) , 3+16
1 with OK and Cancel buttons
3 with Yes, No, and Cancel buttons
4 with Yes and No buttons
0 - (No icon)
16 - Stop-sign icon
32 - Question-mark icon
48 - Exclamation-point icon
64 - Information-sign icon consisting of an 'i' in a circle
524288 - title and text are right-justified
1048576 Displays message and caption text using right-to-left reading order on Hebrew and Arabic systems
131072- shows on the desktop of the interactive window station.
65536 - The message box becomes the foreground window.
262144 - Message Box has top-most attribute set.
2097152 - The function displays a message box on the current active desktop, even if there is no user logged on to the computer. ! <Sleep option is not supported !
<Sleep= timeout of Message Box to close in seconds. After the time-out has elapsed the message box will be automatically closed. If set to 0 (default) means no timeout\>
<OnYesAction= action for 'Yes' button
<OnCancelAction= action for 'Cancel' button
<OnOKAction= action for 'OK' button
<OnNoAction= action for 'No' button
Note: syntax is same as in Rainmeter, any bang or run command e.g. <OnYesAction=!Refresh "#CURRENTCONFIG#"\> name of Config is required in this case
may be removed:
4096 - System modal (dialog has an icon)
8192 - Task modal
tooltip.jpg
For general use of ToolTips i recommend to use a build-in ToolTip. This addon lets you to put ToolTip at any place on the screen and on demand.
Example (is a part of example skin, download and install to see in action)
[ButtonMeterStyle]
SolidColor=#GUI_OT_COLOR#49
W=150
H=32
FontColor=28,28,28
StringStyle=BOLD
FontSize=9
StringEffect=SHADOW
FontEffectColor=128,128,128,50
StringAlign=CENTERCENTER
FontFace=Consolas
AntiAlias=1
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor #GUI_OT_COLOR#][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor #GUI_OT_COLOR#49][!UpdateMeter #CURRENTSECTION#][!Redraw]
[MeterButton]
Meter=String
X=(#GUI_X#+85)
Y=16R
MeterStyle=ButtonMeterStyle
Text="Click on Me!"
DynamicVariables=1
UpdateDivider=-1
MouseOverAction=!UpdateMeter #CURRENTSECTION#
LeftMouseDownAction=["#@#InformMe.exe" tooltip <Text="Click here to close this skin"\> <X=(#CURRENTCONFIGX#+[GUI_CAPTION_X:X]+[GUI_CAPTION_X:W]/2)\> <Y=(#CURRENTCONFIGY#+[GUI_CAPTION_X:Y]+[GUI_CAPTION_X:H]/2)\> <Title="Button"\> <Icon=1\> <Option=1\> <Unique=1\> <Skin=#CURRENTCONFIG#\>]
it can be customized
tooltip2.jpg
<Text= - Text of the Tooltip. (quotes required <Text="Here is a text"\>) \>
<X= - X position in pixels; -1 or option is not specified then at mouse pointer; Formulas are supported
X|X1|W region structure in which TooTip can be shown. If mouse pointer is out of this region ToolTip will be closed whatever <Sleep= option you have set.
X - start position of tooltip; -1 at mouse pointer
X1- start X position of region
W - width of the region
Be shure to set both <X= and <Y= in same maner. You can't have <X= to be -1 and <Y= be -1|100|50\>
<Y= - Y position; -1 = at mouse pointer; Y|Y1|H same as option 2 but for Y; Formulas supported \>
<Title= title of the ToolTip (quotes required); set "" for without title \>
<Icon= icon of the ToolTip, Title should not be null; can be:
0 = No icon (default)
1 = Info icon
2 = Warning icon
3 = Error Icon
4 - big Info icon
5 - big Warning icon
6 - big Error Icon
or full path to image file jpg,png,ico,gif (without animation) formats are supported. Image size can be any but if pic is less then 16x16 it will be resized to 16x16 and if bigger then 32x32 will be resized to 32x32. Keep that in mind!\>
<Option= option to control style of tooltip:
0 = Simle style (default)
1 = Display as Balloon Tip Requires IE5+
2 = Center the tip at the x,y coordinates instead of using them for the upper left corner.
3 = Centered Balloon Tip\>
<Sleep= timeout, how long in seconds to show ToolTip (5 seconds default)\>
<BClose= show close button 1 - show (default); 0 -not show\>
<FontColor= font color of text in ToolTip (will have look of symplified style). Set -1 for default\>
<BGColor= background color of ToolTip (will have look of symplified style). Set -1 for default\>
<Unique= if set 1 only one instance of ToolTip can be shown (0 default)\>
<Fade= delay of fading off animation in milliseconds (20 default)\>
<Margin= margin structure Top|Left|Right|Bottom in pixels\>
<FontSize= font size of Text in ToolTip (0 default, means do not change)\>
<FontFace= if FontSize not 0 - Font Family (set keyword 'Default' for defaults)\>
<FontStyle= if FontSize not 0 - foont attribute:
Normal - normal width (400) and attribute (default)
Bold - bolded text (width 700)
Underline - normal width with Underline attribute
BoldItalic - bolded text with Italic attribute
BoldUnderline - bolded text with Underline attribute
ItalicUnderline- Italic + Underline attribute\>
<Skin= use this option if you need your skin to be in front when ToolTip is about to be shown\>
<Reverse= Specifies that ToolTip has a layout from right to left (RTL) instead of the standard left to right (LTR).
1 - reversed
0 - normal (default)
traytip.jpg
Options:[ButtonMeterStyle]
SolidColor=#GUI_OT_COLOR#49
W=#GUI_W#
H=35
FontColor=28,28,28
StringStyle=BOLD
FontSize=9
StringEffect=SHADOW
FontEffectColor=128,128,128,50
StringAlign=CENTERCENTER
FontFace=Consolas
AntiAlias=1
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor #GUI_OT_COLOR#][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor #GUI_OT_COLOR#49][!UpdateMeter #CURRENTSECTION#][!Redraw]
[MeterButton]
Meter=String
SolidColor=#GUI_OT_COLOR#69
X=(#GUI_W#/2+4)
Y=20
MeterStyle=ButtonMeterStyle
Text="Show TrayTip with icon ('Error' icon) and 7 seconds timeout"
LeftMouseDownAction=["#@#InformMe.exe" traytip <Title="Here is a TrayTip Title"\> <Text="Here is a TrayTip message (255 characters maximum)"\> <Sleep=7\> <Icon=3\>]
<Title=: Title of the TrayTip \> (quotes required)
<Text=: Text of the TrayTip \> (quotes required)
<Sleep=: timeout of how long to show TrayTip \>
<Icon=: icon, can be:
0 = No icon (default)
1 = Info icon
2 = Warning icon
3 = Error icon
16 = Disable sound \>
if you need Info icon without sound set 17 (1+16)
<TrayIcon=: can be:
full path to icon (.ico)
positive index number of shell32.dll \>

Important notes:
• if any application is in fullscreen mode ToolTip will not pop-up (this is intentional thing)
1.2
• [InformMe.exe] traytip: Added <TrayIcon=\> option
• [InformMe.exe] traytip fixed bug with line break not working
• [TrayTip Example.ini] added example to demonstrate new <TrayIcon=\> option
• [InformMe.exe] minor tweaks
1.1
• [ToolTip Example.ini] added two buttons for demonstration of use line breaks #CRLF#, \n from Lua script
• [InformMe.exe] edited file info
• [InformMe.exe] traytip: Added <TrayIcon=\> option
• [InformMe.exe] traytip fixed bug with line break not working
• [TrayTip Example.ini] added example to demonstrate new <TrayIcon=\> option
• [InformMe.exe] minor tweaks
1.1
• [ToolTip Example.ini] added two buttons for demonstration of use line breaks #CRLF#, \n from Lua script
• [InformMe.exe] edited file info
Download
3 Example skins + InformMe.exe addon in @Resources folder
https://faradeyua.deviantart.com/art/InformMe-Addon-v1-2-1-Beta-613157913