TrayTip

From AutoIt Wiki

Jump to: navigation, search

Contents

Description

Displays a balloon tip from the AutoIt Icon. (2000/XP only)

Syntax

TrayTip("Title","String",Timeout,[icon])


Parameters

Title = Text appears in bold at the top of the balloon tip. (63 characters maximum) |

Text = Message the balloon tip will display. (255 characters maximum) |

Timeout = A rough estimate of the time (in seconds) the balloon tip should be displayed. (Windows has a min and max of about 10-30 seconds but does not always honor a time in that range.)

[Icon] = optional. 0=No icon (default), 1=Info icon, 2=Warning icon, 3=Error icon


Example

TrayTip("I'm a title", "I'm the message", 5, 1)
MsgBox(4096,"", "Press OK to see another tip.")
TrayTip("clears any tray tip","",0)
TrayTip("", "A different tray tip.", 5)
Sleep(5000)


Also see:

MsgBox, ToolTip, TrayIconHide, AutoIt Documents[1], Function list