Sign in to follow this  
Followers 0
nokia6300

Help me in winclose

3 posts in this topic

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

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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
Sign in to follow this  
Followers 0