Jump to content

Recommended Posts

Posted

Using the following:

MsgBox(0,"",WinGetState("[CLASS:IEFrame]", ""))

With IE running and maximized, I get 39, which is "Enabled",  "Exists" "Visible" and "Maximized"

With IE not running , I get 5  which is "Exists" and "Enabled"

How can this be????

My goal is to know if IE is running

Thanks for any help

Posted

hi AutoitMike

there's probably some instance of iexplore.exe running and not visible.
try this to see if any iexplore.exe is still running

Local $list = ProcessList("iexplore.exe")
MsgBox(0,"",$list[0][0] & " iexplore.exe still running")

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Posted (edited)

OK, Looks like you fixed it.

If I close IE, the above code shows zero instances , if I open IE , it always shows 2 instances even though I have opened only one instance.

It seems that IE has one more instance than the number of tabs opened.

This takes care of my issues.

Thanks

Edited by AutoitMike
Posted

yes, i can confirm this. there is always an additional hidden ie instance.

firefox, on the other hand, always has only one instance, no matter how many windows you open.

[color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font]

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
×
×
  • Create New...