Rob van der Woude's Scripting Pages

Help text for SystemTrayMessage.cs

(view help text of SystemTrayMessage.cs as plain text)

SystemTrayMessage.exe,  Version 1.03
Display a tooltip message in the system tray's notification area

Usage:    SystemTrayMessage.exe  message  [ options ]

Where:    message     is the message text in the tooltip balloon

Options:  /I:icon     tooltip Icon (Error, Info, None, Warning; default: Info)
          /P:path     Path to an icon file or library (default: Shell32.dll)
          /S:index    System tray icon index  in icon library (default: 277)
          /T:title    optional Title in the tooltip balloon
          /V:seconds  number of seconds the tooltip balloon will remain
                      Visible (default: 10)
          /W          Wait for the timeout to elapse and remove the icon from
                      the notification area (default: exit without waiting)

Notes:    You may use \n for newlines and \t for tabs in message.
          Command line switch /S will be ignored if switch /P specifies
          anything but an icon library.
          Use my Shell32Icons.exe to select a Shell32 icon and get its index.
          Return code ("ErrorLevel") is -1 in case of errors, or 0 otherwise.

Credits:  Code to extract icons from Shell32.dll by Thomas Levesque

Written by Rob van der Woude

page last uploaded: 2018-02-15, 10:51