Jump to content
Sign in to follow this  
wonnylee

how do i show IE creating with IECREATE hiding option enabled?

Recommended Posts

wonnylee

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)

Share this post


Link to post
Share on other sites
FreeFry

Try:

$oIE = _IECreate("www.yahoo.co.kr", 0, 0)
_IEAction($oIE, "visible")

Share this post


Link to post
Share on other sites
wonnylee

Try:

$oIE = _IECreate("www.yahoo.co.kr", 0, 0)
_IEAction($oIE, "visible")

How about @SW_MAXIMIZE option.

I want IE to be created maximized.

Share this post


Link to post
Share on other sites
FreeFry

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)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.