Activates the window associated with the nth taskbar instance of a specified application, with a specified timeout.
Syntax
SwitchToApplication(applicationName, instance, timeout)
Parameters
- applicationName
- Name of a running application executable file, not including the .exe extension. Case insensitive.
- instance
- Which instance of specified application to activate, in taskbar order.
- timeout
- Number of seconds to wait before aborting.
Remarks
Counts to instance number instance of applicationName (case insensitive)
in the taskbar, and activates the window associated with that taskbar button. If too few instances are running,
this function aborts the calling command and displays an error message in the Vocola Log window.
It also errors out if the desired instance does not become active within timeout seconds.
See SwitchToApplication for an example.
Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)