furrycow Posted September 13, 2008 Share Posted September 13, 2008 Hey, im wanting to quit internet explorer windows after i use them, and am currently using _IEQuit, and i am using _IECreate("www.somesite.com", 0, 0, 1, 0), meaning that im loading the page invisible. I have found however that when i use _IEQuit, it doesnt not quit the process, so after some time my comp slows down an incredible amount and i find i have 20 iexplore.exe's open. In the help file it states:"When the browser instance is invisible however, when AutoIt exits the browser process is left running and there is no user interface to interact with and an orphan Iexplore.exe process is left running on the system. It is therefore good practice to call _IEQuit whenever the browser process is not needed after the script exists."Does that mean that as soon as i open the window i need to close it again or what? because it doesn't quit the process wherever i put it...then i found on another thread....Hey, finally someone who needs the new feature I added to _IEAttach in the beta... see _IEAttach, Example 5. It creates an array of all browser instances (note that multiple browser instances can be part of a single iexplore.exe process and each can be visible or not). Then use _IEPropertyGet, visible to see it they are visible or not and then _IEQuit to get rid of the ones you want to kill.DaleBut looking at the _IEAttach, there are only 3 examples in there, but how he explains it is what i want to do, does any one know how to implement what DaleHohm is talking about??Or any other ideas? Thank You! Instant Lockerz Invite - www.instantlockerzinvite.co.uk Link to comment Share on other sites More sharing options...
botanic Posted September 13, 2008 Share Posted September 13, 2008 ProcessClose ( "iexplorer.exe") Link to comment Share on other sites More sharing options...
furrycow Posted September 13, 2008 Author Share Posted September 13, 2008 ProcessClose ( "iexplorer.exe")Thank you, but sorry, i forgot to mention, i also have an internet explorer window open that is visible, and that needs to stay open :S Instant Lockerz Invite - www.instantlockerzinvite.co.uk Link to comment Share on other sites More sharing options...
botanic Posted September 13, 2008 Share Posted September 13, 2008 then get the pid when you open it and specify which one using the pid not the name Link to comment Share on other sites More sharing options...
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