ctl Posted July 31, 2013 Share Posted July 31, 2013 Hello, how could i maximize the browser after my script opens it, i need to maximize it because the mouse is not in the browser when open it.Thanks. Global $oIE = _IECreate ("http://www.mysite.com/") MouseClick("right",380,664,1) Link to comment Share on other sites More sharing options...
Anas Posted July 31, 2013 Share Posted July 31, 2013 _IEPropertySet($oIE, "theatermode", True) ctl 1 Link to comment Share on other sites More sharing options...
mikell Posted July 31, 2013 Share Posted July 31, 2013 Or for a simple maximization $hWnd = _IEPropertyGet($oIE, "hwnd") WinSetState($hWnd, "", @SW_MAXIMIZE) ctl 1 Link to comment Share on other sites More sharing options...
ctl Posted July 31, 2013 Author Share Posted July 31, 2013 Thansk to both of you, works fine. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now