Jump to content
Sign in to follow this  
muhmuuh

How to open a IE behind all other windows?

Recommended Posts

How to open a new IE maximized behind all other windows?

I;ve come up with this only but it is not what I want. If I use @SW_SHOWMAXIMIZED it comes on top

#include <IE.au3>
AutoItSetOption("WinTitleMatchMode", 2)
$oIE = _IECreate ($url, 0, 1, 0, -1)
WinSetState($oIE, "", @SW_HIDE)
WinSetState("Internet Explorer", "", @SW_SHOWMINIMIZED)

How to make it go behid all other windows without minimizing it? or in other words How to change a windows's level?

Thanks

Edited by muhmuuh

I ran. I ran until my muscles burned and my veins pumped battery acid. Then I ran some more.

Share this post


Link to post
Share on other sites

Any ideas how to open IE behind all other windows?

I hope that someone finds a way to do this, because my "backdoor" method below sometimes causes problems...

1) Use _IEcreate, and get the window title

2) Use WinSetState to set it to @SW_HIDE

Another method (if using a GUI)

1) Use _IECreateEmbedded

2) Set $guiactivex = guictrlcreateObj($oIE, 0, 0, -1, -1) [This will still show a small box on the GUI, haven't figured a way to get rid of that)

Hope that helps...

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  

×
×
  • Create New...