What is TrayNote?


If you have basic DOS skills, you can add icons to the tray by using the information provided in this document.

Though we encourage you to use TrayNote program to load programs into the Windows 95 Tray area, we can support only the automatic inclusion of Qualitas C.Y.A. through its own SETUP program.

This document explains how to load programs into the Tray Notification Area of Windows 95 with TRAYNOTE.EXE, which ships with Qualitas C.Y.A. TrayNote is an application which places icons into the Win95 Tray Notification Area (TNA) on the taskbar. Typically, you see one or two icons already loaded here, such as the one for time/date as well as a speaker icon if there is a sound card attached to the system.

What benefits do I get from TrayNote?

TrayNote can be used to display one or more small icons, each with up to four distinct actions (invoked by left- and right-click and left-and right-double-click), readily available, and taking up a minimum amount of real estate on your desktop.

Some examples:
You use a DOS box frequently and want to access it with one click.
You may use a certain HELP file regularly and want easy access.
You want instant access to your Internet browser.

Where Do I Start?

To start, you need an .INI file for TrayNote. TrayNote reads its information from a profile in the Windows directory named TRAYNOTE.INI. This file already exists when you've installed Qualitas C.Y.A. and added it to the tray through the SETUP program. You can use any text editor to make additions and changes to the file. If you need to, you can create a file by this name in the Windows directory. Once this file exists, you can edit it to add or change sections.

How do I make additions and changes to the TRAYNOTE.INI file?

Each tray icon needs a section of its own. You may choose any name you want for each section, but each name must be unique. This is what the TRAYNOTE.INI file looks like when you install Qualitas C.Y.A. and choose to load it into the Tray.

[TRAYNOTE.INI]
App=C:\QCYA\TRAYNOTE.EXE
Class=TrayNoteClass
[CYA]
ToolTip=Qualitas C.Y.A.
IconFile=C:\QCYA\CYA32.EXE
LeftClick=C:\QCYA\CYA32.EXE
RightClick=C:\QCYA\CYA32.EXE /H

The entry names within each program-specific section are described below:

ToolTip=text
This text is displayed whenever the cursor wanders over the Tray icon. In the example above, the text used is Qualitas C.Y.A. If you move the mouse over the icon, the text Qualitas C.Y.A. appears immediately above the icon.
IconFile=d:\path\filename.ext
This file is assumed to be a file with icons from which the first icon is extracted and used as the tray icon. The icon should be sized to fit in the tray notification area. This file may be an .EXE, .ICO, or any other standard Windows file which can contain icons. For the example above, the icon used is contained in the CYA32.EXE file.
LeftClick=d:\path\filename.ext commandline
This line is WinExec'ed whenever the tray icon is left-clicked. In the example above, a left click causes execution of the Qualitas C.Y.A. program.
LeftDblClick=d:\path\filename.ext commandline
This line is WinExec'ed whenever the tray icon is left-double-clicked. The example above does not have a response associated with this action.
RightClick=d:\path\filename.ext commandlinE
This line is WinExec'ed whenever the tray icon is right-clicked. In the example above, a right click results in the standard What's This HELP from Windows.
RightDblClick=d:\path\filename.ext commandline
This line is WinExec'ed whenever the tray icon is right-double-clicked. The example above does not have a response associated with this action.

Though you can assign up to four separate actions for each icon, you don't have to define all of the actions.

In addition, the TRAYNOTE.INI file must include the [TRAYNOTE.INI] section. This section already exists if you previously installed Qualitas C.Y.A. Otherwise, you can create it yourself. Assuming that the program name is TrayNote, this is what the section can contain:

[TrayNote.ini]
Class=classname

This string (no spaces, please) is used as the registered class name when creating Windows. Specify this setting, only if you wish to run multiple separate TrayNote sessions. If this entry is not present, the default value used is TrayNote.

App=d:\path\filename.ext
This string is written to the profile by TRAYNOTE.EXE when it starts up so other programs can communicate with it.

Now that you know what comprises a section for the TRAYNOTE.INI file, here are some examples you may want to use:

1. You want to add an icon that just takes you to a DOS box in Windows when you click on it with your left mouse button. Edit the contents of the TRAYNOTE.INI file to add the new section name, define the text that appears as the tool tip, and set up an icon:

[MSDOS]
ToolTip=Take me to DOS
IconFile=C:\WINDOWS\MSDOS.ICO

Now define the action that you want to occur when you left click the icon:

[MSDOS]
ToolTip=Take me to DOS
IconFile=C:\WINDOWS\MSDOS.ICO
LeftClick=C:\WINDOWS\COMMAND.COM

2. You frequently use Notepad and want to be able to access it quickly. Again, define the section, then add the actions:

[NOTEPAD]
ToolTip=Notes
IconFile=C:\WINDOWS\NOTEPAD.EXE
LeftClick=C:\WINDOWS\NOTEPAD.EXE

Now you want to bring up Windows Explorer so that you can look for files more quickly. Adding the Explorer program as the right click for this section accomplishes that for you.

ToolTip=Notepad
IconFile=C:\WINDOWS\NOTEPAD.EXE
LeftClick=C:\WINDOWS\NOTEPAD.EXE
RightClick=C:\WINDOWS\EXPLORER.EXE

How does TrayNote recognize my changes?

After editing the TRAYNOTE.INI, you have to tell the TrayNote program that you've made changes and/or additions. Begin by starting the program. Start TrayNote from the DOS command line within Windows (or from your StartUp group) by typing TRAYNOTE START. Make sure you are in the directory where TrayNote is stored when you type it (unless the directory is in your path).

After TrayNote is running, you can communicate with it using these commands:

NEW section name - for when you have added a new section to TrayNote
MODIFY section name - for when you change an existing section
CLOSE section name - to remove a single section's icon
QUIT - to remove all the icons managed by TrayNote from the tray

Section name: refers to the name of the section to which the command applies.

Suppose you have added the MSDOS section used in the examples above to your TRAYNOTE.INI and saved the changes to the file. You would then:

  1. Start the program by typing TRAYNOTE START in the appropriate directory.
  2. Add the new section by typing TRAYNOTE NEW MSDOS.

The icon for MSDOS should be in the Tray Notification Area and a left click with the mouse should run the program.

How do I remove the icons from the Tray Notification Area?

Type TRAYNOTE QUIT at the command line. This terminates the program and removes all of the icons it manages from the Tray Notification Area.

Ideas and comments about this program are most welcome via email to . We request that you do not call technical support for help in adding icons to the Tray Notification Area.

[Products] [Orders] [Technical Support] [Registration] [Downloads]

Home Page About Qualitas  Return to Home Page

© Qualitas, Inc. 1987-2008, 5012 Kearneysville Pike, P.O. Box 3299, Shepherdstown, WV 25443-3299
Qualitas is a registered trademark and Qualitas MAX 8, Qualitas C.Y.A., Q.E.D., and RAMexam are trademarks of Qualitas, Inc.
All other product names are trademarks of their respective owners.

Comments or suggestions? Send them to .