Jump to content
Sign in to follow this  

trigger different things depends on different content on AIM window

Recommended Posts


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


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}")


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