Element
Description
AppActivate statement
Gives the focus to a window based on its title or task ID
AppActivateHelper statement
Gives the focus to a window based on its window handle
Beep statement
Sounds a note using the computer speaker
Choose function
Returns a value from a list based on its index
Command function
Returns the argument portion of the command line
Environ function
Retrieves the value of an environment variable
IIf function
Returns one of two values based on the evaluation of a Boolean expression
InputBox function
Returns user input from a simple dialog box
MsgBox function
Displays a message box with buttons , icon, and a message, and returns the button selected by the user
Shell function
Launches an external application
Switch function
Returns the first value or expression in a list that is True
Send, SendWait methods
Send keystrokes to the active window