| Home | Download | Forum | Bug Tracker

|  | v1.4.0

XTray
XTray allows you to create and modify icons in the system tray. They provide a useful indication of your status, tooltips, and can also receive basic mouse events.

/xtray Command
The /xtray command is used to manipulate icons in the system tray.

/xtray -c
This command creates a trayicon.
Syntax: | /xtray -c [ID] [+FLAGS] [INDEX] [FILENAME] (TAB) (TOOLTIP)
Example: | /xtray -c 3 + 4 mirc.exe $chr(9) This is the trayicon tooltip /xtray -c 3 +g 2 mirc.exe
Parameters:
ID | The unique ID that this trayicon will be recognised by.
+FLAGS | Icon flags
a | Uses the icon associated with the given file (as shown in Windows Explorer). Note: File must exist.
f | Uses the icon associated with the given filetype. Note: Filename is the extension (eg. BMP, PNG, AVI, etc).
g | Convert to grayscale icon.
P | If GDI+ is enabled, this will use GDI+ to extract the icon.
INDEX | Icon index in icon archive
FILENAME | Icon archive filename
TOOLTIP | The tooltip for the trayicon.
Note. Use 0 for INDEX if the file is a single icon file.

/xtray -d
This command deletes the trayicon.
Syntax: | /xtray -d [ID]
Example: | /xtray -d 3
Parameters:
ID | The unique ID that this trayicon will be recognised by.
Note. Use 0 for INDEX if the file is a single icon file.

/xtray -e
This command edits a trayicon.
Syntax: | /xtray -e [ID] [+FLAGS] [INDEX] [FILENAME] ([TAB] TOOLTIP)
Example: | /xtray -e 3 + 4 mirc.exe $chr(9) This is the new trayicon tooltip /xtray -e 3 +g 2 mirc.exe
Parameters:
ID | The unique ID that this trayicon will be recognised by.
+FLAGS | Icon flags
a | Uses the icon associated with the given file (as shown in Windows Explorer). Note: File must exist.
f | Uses the icon associated with the given filetype. Note: Filename is the extension (eg. BMP, PNG, AVI, etc).
g | Convert to grayscale icon.
P | If GDI+ is enabled, this will use GDI+ to extract the icon.
INDEX | Icon index in icon archive
FILENAME | Icon archive filename
TOOLTIP | The tooltip for the trayicon.
Note. Use 0 for INDEX if the file is a single icon file.

/xtray -i
This command edits the trayicon icon.
Syntax: | /xtray -i [ID] [+FLAGS] [INDEX] [FILENAME]
Example: | /xtray -i 3 + 4 mirc.exe
Parameters:
ID | The unique ID that this trayicon will be recognised by.
+FLAGS | Icon flags
a | Uses the icon associated with the given file (as shown in Windows Explorer). Note: File must exist.
f | Uses the icon associated with the given filetype. Note: Filename is the extension (eg. BMP, PNG, AVI, etc).
g | Convert to grayscale icon.
P | If GDI+ is enabled, this will use GDI+ to extract the icon.
INDEX | Icon index in icon archive
FILENAME | Icon archive filename
Note. Use 0 for INDEX if the file is a single icon file.

/xtray -T
This command edits the trayicon tooltip.
Syntax: | /xtray -T [ID] [TOOLTIP]
Example: | /xtray -T 3 This is the new trayicon tooltip
Parameters:
ID | The unique ID that this trayicon will be recognised by.
TOOLTIP | The tooltip for the trayicon.

XTray Signals

XTray signals are enabled by default and sent to mIRC containing information about mouse activity over the trayicon. To enable or disable signal messages for trayicons, refer to /dcx xSignal
Signal: | DCX trayicon EVENT ID
Example: | DCX trayicon dclick 1
Parameters:
trayicon | The event signal identifier.
EVENT | Information about event occurred.
dclick | The trayicon was double clicked.
rdclick | The trayicon was double right-clicked.
mdclick | The trayicon was double middle-clicked.
sclick | The trayicon was single left-clicked.
rclick | The trayicon was single right-clicked.
mclick | The trayicon was single middle-clicked.
ID | The unique ID which the trayicon was created with.

/xtray Flags
c
d
e
i
T

Contact | © 2005-2007 | Last Updated: 25th December, 07