PcExpert Posted March 11, 2006 Share Posted March 11, 2006 Hello, I'm trying to make a msn bot, but ho can I let the program say something if a screen pops up. For example: Someone starts a conversation with you, and when the conversation is active it types some thing. I know how to do that part. But how let I type the program something if the title of the screen changes? So can I make it that if there is comming up a conversation that it detects a part of the title for example: Erik types something to you, then the screen pop ups and it detects that the words - Conversation are in the title of the screen and then it types back. Thanks Link to comment Share on other sites More sharing options...
Lord_Doominik Posted March 11, 2006 Share Posted March 11, 2006 If WinExists("TITLE", ["TEXT"]) Then ACTIONS EndIf Link to comment Share on other sites More sharing options...
PcExpert Posted March 11, 2006 Author Share Posted March 11, 2006 Does that also detect parts of the title? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 11, 2006 Moderators Share Posted March 11, 2006 http://www.autoitscript.com/forum/index.php?showtopic=21048#Maybe you should try the tutorials out there before you ask questions.It's obvious you don't put forth ANY effort. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
PcExpert Posted March 11, 2006 Author Share Posted March 11, 2006 Thanks for your advice Link to comment Share on other sites More sharing options...
Lord_Doominik Posted March 12, 2006 Share Posted March 12, 2006 by the way you vould also look FIRST at the helpfile and ask then... you've asked many tings who are written in the autoit helpfile... look there for the function, there is exactly written what it does and if it detects parts of the title... 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