Specifications

Event Actions
Windows Create Event Action
The Windows Create event action indicates that a new application window was
created.
Create events support the following parameters:
(BT Studio displays these values in the events pane.)
ExecutableName. The name of the process
Class. The class of the new window
Title. The title of the new window
ObjectID. Application- wide unique identifier of the new window
Example
transaction "LoadRecord"
module "LoadRecord"
{
event "1" Windows MenuCommand { Text="Load Customer Record..." }
event "2" Windows Create { Title=contains:"Customer Summary" }
}
Windows Destroy Event Action
The Windows Destroy event action indicates that an application window was
closed (destroyed).
Destroy events support the following parameters:
(BT Studio displays these values in the events pane.)
ExecutableName. The name of the process
Class. The class of the destroyed window
Title. The title of the destroyed window
ObjectID. Application- wide unique identifier of the window
Example
transaction "Send"
Module "Send"
{
event "SubmitMsgBegin" Outlook SubmitMessage {}
event "SubmitMsgComplete" Outlook SubmitMessageComplete {}
event "DestroyWindow" Windows Destroy {}
}
BT Language Reference 157