Jump to content
Sign in to follow this  
Disciples

Script reads text and reacts?

Recommended Posts

Disciples

I was wondering if someone could tell me where in the Help, there is something about having the script read text and reacts to it.

Or if someone could just tell me roughly on how to do it that would be great!

such as if something says ABC instead of BCA then it will do something like a MouseClick or something

Share this post


Link to post
Share on other sites
colafrysen

$hFile = FileOpen(c:\file.txt)

Switch FileReadLine($hFile)

case "ABC"

case "BCA"

mouseclick("left",500,500)

endswitch

FileClose($hFile)

bare with my errors, it's written on my phone.


[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]

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  

×