Agent options control various aspects of agent operations. When you want to get or set the value of an agent option, you use the appropriate constant from the AGENTOPTION data type to identify the option. For example, the option value identified by OPT_KEYBOARD_DELAY specifies the time the agent waits between each keystroke submitted from a script. You can access the values of options by passing the constants defined for this data type to the GetOption method and SetOption method of the AgentClass class.
For a complete list of the agent options, see Agent Options.