Jump to content

Recommended Posts

Posted

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.

Posted

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]", "")
Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...