Vocola.net
Vocola 3.1 Function Library
SwitchTo(applicationName, timeout)
Namespaces LibraryMain ► SwitchTo
Activates a specified running application, with a specified timeout.
Syntax
SwitchTo(applicationName, timeout)
Parameters
applicationName
Name of a running application executable file, not including the .exe extension. Case insensitive.
timeout
Number of seconds to wait before aborting.
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 timeout seconds.

See SwitchTo for an example.

Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)