Wednesday, 15 May 2013

Maximize and Minimize browser using DP



Minimizing the browser
----------------------------
hWnd = Browser("browser_name").GetROProperty("hwnd")
Window("hwnd:=" & hWnd).Minimize


Maximizing the browser

----------------------------

hWnd = Browser("browser_name").GetROProperty("hwnd")
Window("hwnd:=" & hWnd).Maximize

Capturing hwnd
-------------------
hWnd = Browser("hwnd:=" & hWnd).Object.hWnd


No comments:

Post a Comment