Sign in to follow this  
Followers 0
PcExpert

MSN BOT

6 posts in this topic

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

Share this post


Link to post
Share on other sites



If WinExists("TITLE", ["TEXT"]) Then
    ACTIONS
EndIf

Share this post


Link to post
Share on other sites

Does that also detect parts of the title?

Share this post


Link to post
Share on other sites

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.


[center]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.[/center]

Share this post


Link to post
Share on other sites

Thanks for your advice

Share this post


Link to post
Share on other sites

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...

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