AutoitMike Posted August 10, 2013 Posted August 10, 2013 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
Gianni Posted August 10, 2013 Posted August 10, 2013 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") Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....
Edano Posted August 10, 2013 Posted August 10, 2013 and i do this to kill them all from time to time . While ProcessExists("iexplore.exe") ProcessClose("iexplore.exe") WEnd . E [color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font]
AutoitMike Posted August 10, 2013 Author Posted August 10, 2013 I get syntax error ("Illegal Character") underneath the first line
AutoitMike Posted August 10, 2013 Author Posted August 10, 2013 (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 August 10, 2013 by AutoitMike
Edano Posted August 10, 2013 Posted August 10, 2013 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]
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