Specifications
Module Statement
Note: Naming restrictions apply to module names.
Syntax
module "module-name"
Example
The following transaction definitions are from an application rule set for Lotus
Notes.
transaction "Logon"
module "Logon"
{
event "LogonOKBtn" Windows ButtonPress {ParentTitle="Enter Password" text="OK"}
event "DstryLogin" Windows Destroy {Title="Enter Password"}
last
{
event "A" Connection Request { }
event "B" Connection Response { }
}
}
transaction "NewMemo"
module "NewMemo"
{
event "1" Windows MouseClick {title="New Memo" }
event "2" Windows Losefocus {title=contains:"New Memo"}
last
{
event "3a" connection request { }
event "3b" connection response { }
}
}
transaction "Reply"
module "Reply"
{
event "1" Windows MouseClick {Title="Reply"}
event "2" Windows LoseFocus {Title=contains:"New Memo"}
last
{
event "3a" connection request { }
event "3b" connection response { }
}
}
BT Language Reference 237










