Sign in to follow this  
Followers 0
muhmuuh

How to open a IE behind all other windows?

5 posts in this topic

#1 ·  Posted (edited)

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



Why there is a function WinSetOnTop but there isn't WinSetOnBottom ;);):)


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 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...


[center][/center]

Share this post


Link to post
Share on other sites

Alright, I found a way to do so:

_IECreate("URL", 0, 0)

The first zero tells it not to attach, the second tells it to make sure the window is hidden. The default is "1".


[center][/center]

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  
Followers 0