Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Read Text, Do Action...
#1
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 :?


Code:
Copy      Help
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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)