![]() |
GPAL - Generally Positive Automation Library v1.0
GPAL The Fluent Automation LIbrary
|
Static Public Member Functions | |
| static bool | TopBrowser (Process process, int processId=0) |
| Brings the browser window to the foreground. Not useful in headlesss or OttoMagic mode where we are totally in control and in focus. bool success = browser.MagicHelper.TopBrowser(process, processId);. | |
| static void | ResizeWindow (Process process, Rectangle inRect) |
| Resizes and repositions a process's main window using optional parameters. | |
Definition at line 2912 of file MagicHelper.cs.
|
static |
Resizes and repositions a process's main window using optional parameters.
| process | The Process whose main window to resize. |
| top | Optional new top position. If null, the current position is retained. |
| left | Optional new left position. If null, the current position is retained. |
| width | Optional new width. If null, the current width is retained. |
| height | Optional new height. If null, the current height is retained. |
Definition at line 3095 of file MagicHelper.cs.
|
static |
Brings the browser window to the foreground. Not useful in headlesss or OttoMagic mode where we are totally in control and in focus. bool success = browser.MagicHelper.TopBrowser(process, processId);.
| process | The browser process |
| processId | Optional specific process ID or service ID to scan for windows |
Definition at line 2949 of file MagicHelper.cs.