longxx Posted May 24, 2008 Posted May 24, 2008 This is what I want: I want the script to keep scanning the "Visible Text" of a AIM window (I have verified the message can be read by AutoIt) and when a special text string is found, trigger some action, and trigger different things when another text string is find thanks. this is what I have so far, I want to add something after the WinWaitActive function to make it scan the window message, is that doable? While 1 If WinWaitActive("XXXX - Instant Message") Then SoundPlay(@WindowsDir & "\media\ringin.wav") WinClose("XXXX - Instant Message") ControlSend("Warcraft III", "", "", "{altdown}q{altup}") EndIf WEnd
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