Jump to content

Help me in winclose


Recommended Posts

I am developing a software for children that when ever any adult site open my program read some specific words like "Sex", "Gay", etc etc & immediately close down that window. How can i do that in Autoit?whenever anything like that appear it shows a message box & windows get close @ the spot

Link to comment
Share on other sites

too generic. Give more specifics. What is your program based on. How can a site open your program?

in general, maybe you can search for regular expression in an infinite while do loop with Exit as the breakout option.

Link to comment
Share on other sites

you'd probably need to setup an array with all your keywords and compare the array sequentially to the title of any new window that opens and if you find a match, close it. Pay close attention to wintitlematchmode when you do this.

[u]You can download my projects at:[/u] Pulsar Software
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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