Batch Actions Sections

 
If you're using the multi action, or if you want to use the [DoubleClickAction], you'll have to create sections in your script file that contain a list of actions that are to be performed by AeTrayMenu sequentially. (Tip: you could see a batch action section as a [Menu.*] section with some parameters removed).

Here is an example of a [DoubleClickAction] section: [DoubleClickAction] Action: run; FileName: "%Apache%\bin\Apache.exe"; Parameters: "-k install"; ShowCmd: hidden; Flags: waituntilterminated Action: run; FileName: "%MySQL%\bin\mysqld-opt.exe"; Parameters: "--install"; ShowCmd: hidden; Flags: waituntilterminated Action: resetservices Action: service; Service: Apache2; ServiceAction: startresume; Flags: ignoreerrors Action: service; Service: MySQL; ServiceAction: startresume; Flags: ignoreerrors

The following is a list of the supported parameters:

ActionREQ

Value

Action type

Description

If the item's type is item, then an action is performed when the user clicks it. Take a look at the List of Available Actions for a complete reference on the actions that can be performed by AeTrayMenu.
If the action that's associated with the menu item appears to be unavailable, AeTrayMenu will automatically disable the item. For example, if a service is already running, menu items that would start the service will be disabled.

seealso (1K) See Also
How to Use Batch Actions
List of Available Actions
"Multi" Action
[DoubleClickAction] Section [StartupAction] Section