Click the Automation | Help | BASIC Language Help command to obtain help on BASIC programming commands.
Automation Tab Commands
Introducing Scripter