wonnylee Posted April 16, 2009 Posted April 16, 2009 how do i show IE creating with IECREATE hiding option enabled? _IECREATE("yahoo.co.kr", 0, 0) I created IE with hiding option enabled, but how can i show it again? It doesn't work with guisetstate(@SW_SHOW)
FreeFry Posted April 16, 2009 Posted April 16, 2009 Try: $oIE = _IECreate("www.yahoo.co.kr", 0, 0) _IEAction($oIE, "visible")
wonnylee Posted April 16, 2009 Author Posted April 16, 2009 Try: $oIE = _IECreate("www.yahoo.co.kr", 0, 0) _IEAction($oIE, "visible") How about @SW_MAXIMIZE option. I want IE to be created maximized.
FreeFry Posted April 16, 2009 Posted April 16, 2009 You can make it maximized after it has been created and made visible by getting the window handle to the browser with _IEPropertyGet, then setting it to maximized with WinSetState: $oIE = _IECreate("www.yahoo.co.kr", 0, 0) _IEAction($oIE, "visible") WinSetState(_IEPropertyGet($oIE, "hwnd"), "", @SW_MAXIMIZE)
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