JasmineD Posted July 20, 2011 Posted July 20, 2011 Hi friends, I'm a new user here....so sorry for my stupid question, please help me... i wrote below code, WinClose("[CLASS:Notepad]", "") WinClose("[CLASS:Wordpad]", "") WinClose("[CLASS:Paint]", "") WinClose("[CLASS:Notepad]", "") but it close two notepad only....i tried several ways but it didn't close wordpad and paint. also i want to auto close a internet explorer pop-up and My Computer window. please somebody help me, Thank You, Jasmine Davis.
JoHanatCent Posted July 20, 2011 Posted July 20, 2011 Hi friends, I'm a new user here....so sorry for my stupid question, please help me... i wrote below code, WinClose("[CLASS:Notepad]", "") WinClose("[CLASS:Wordpad]", "") WinClose("[CLASS:Paint]", "") WinClose("[CLASS:Notepad]", "") but it close two notepad only....i tried several ways but it didn't close wordpad and paint. also i want to auto close a internet explorer pop-up and My Computer window. please somebody help me, Thank You, Jasmine Davis. Jasmine, did you use AI Window Info tool to determine the class or just took a wild guess? If I use this it seems to work: WinClose("[CLASS:Notepad]", "") WinClose("[CLASS:WordPadClass]", "") WinClose("[CLASS:MSPaintApp]", "") WinClose("[CLASS:Notepad]", "")
skin27 Posted July 20, 2011 Posted July 20, 2011 By the way you can find the tool in the menu: Tools --> AU3Info or press Ctrl F6. Just drag the finder tool on the window and you get the info about the Class.
Andreik Posted July 20, 2011 Posted July 20, 2011 And next time be careful where you post. This is Example Scripts Forum.
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