nokia6300 Posted March 30, 2009 Share Posted March 30, 2009 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 More sharing options...
Rishav Posted March 30, 2009 Share Posted March 30, 2009 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 More sharing options...
maqleod Posted March 30, 2009 Share Posted March 30, 2009 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 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