List of Available Actions

 
AeTrayMenu can perform certain actions when menu items are clicked by the user. There are also other places where actions appear, such as the [DoubleClickAction] section, and batch action sections.

First of all, you often need to specify which action you want to have performed by specifying an Action parameter. Furthermore, some actions also require additional parameters.

The following is a list of all the available action types along with a description. Actions that need additional parameters will be explained in more detail in separate topics.

about
Displays the AeTrayMenu about dialog.
closeservices
In order to be able to monitor the services you've specified, AeTrayMenu keeps handles open to them. If you want to uninstall a service from within the traymenu, this will cause it to be "marked for deletion" (that is: it won't be fully removed until a reboot) since Windows detects it's still in use. By executing the closeservices action, you can make sure AeTrayMenu won't interfere. You can let AeTrayMenu re-open the handles by executing the resetservices action.
If you want to uninstall a service from an external program while AeTrayMenu is running, you can use command-line parameters to temporarily shut the traymenu down.
controlpanelservices
Displays the "Services" console (on NT systems, you can open it by going to Start > Settings > Control Panel > Administrative Tools > Services).
exit
Shuts down AeTraymenu.
multi
Provides you with a way to execute multiple actions consecutively, much like Windows/DOS batch files. More information... (See also How to Use Batch Actions).
readconfig
This actions lets AeTrayMenu reset itself and reload its configuration file.
resetservices
Causes AeTrayMenu to reset all its handles to the services it monitors. Can e.g. be used to 'restore' the traymenu after a call to the closeservices action.
run
With this type of action, you can run a program. You can specify which program is to be executed, along with the working directory, parameters etc. More information...
service
Allows you to start, stop, suspend, resume and restart services. More information...
shellexecute
This action is similar to the run action, but it can also be used to open documents with their associated programs. More information...

seealso (1K) See Also
[Menu.*] Section
[DoubleClickAction] Section
How to Use Batch Actions
Command-line parameters