08-24-2006, 12:04 AM
I want to make a macro that when somebody says something in an instant message I want it to do an action, like "Sign out" the macro would read the text of the instant message window and it would sign out of the instant messanger service... Here's what I came up with and I got it so it would type what the text is but I can't make it do the action :?
str a.getwintext(child("" "Ate32Class" win("Username1 : Username2- Instant Message" "AIM_IMessage") 0x5)) ****Gets the message from IM Window*****
,,if(IsWindowVisible(child("Usernamehere: sign out" "Ate32Class" win("Username1 : Username2 - Instant Message" "AIM_IMessage") 0x5))) *****If Username1 says "Sign out" then I want it to move the mou... (for an example)
,,mou 45 45