version 6.0
AppActivate (windowName) Integer
| Parameter | Type | Description | |
| windowName | String | Name of the window to bring to the front | |
| Function result | Integer | Error code |
Description
The command AppActivate allows you to bring a specific window of an application to the front.
The window is selected using its title. You can either pass the complete title of the window or its first few letters. In the latter case, the first window whose first letters match the string passed will be brought to the front.
0 is returned if a window has been activated, otherwise -1 is returned.