Activates a specified running application.
Syntax
SwitchTo(applicationName)
Parameters
- applicationName
- Name of a running application executable file, not including the .exe extension. Case insensitive.
Remarks
If the taskbar contains an instance of applicationName (case insensitive), that instance
becomes the active application. Otherwise,
this function aborts the calling command and displays an error message in the Vocola Log window.
It also errors out if the specified application does not become active within 5 seconds.
Examples
CopyStart a Web search
Web Search = SwitchTo(firefox) {Alt+g};
Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)