08-24-2006, 11:07 PM
Alright thanks Gintaras It worked but the only problem is, how do I make it run until the person says "Sign out" , do I make it a function or can I add a loop type thing (Visual Basic learner) only thing I found was If and out :?
I want it to run a macro until the personn says Sign out, then I want it to stop the macro and run another one... so far I have this..
mac+ "Macro1"
str a.getwintext(child("" "Ate32Class" win("Username1 : Username2- Instant Message" "AIM_IMessage") 0x5)) ;;****Gets the message from IM Window*****
sel a 3
,case "*Usernamehere: sign out*" ;;if contains this text (* are wildcard character, ie match 0 or more characters)
,mou 45 45
then like a, If Case = "Sign Out" then
mac- "Macro1"
any ideas? :?:
WAS ASLO THINKING - MAKE FUNCTION RUN 24/7 or until the Signout comes, then have another function stop the 24/7 running one, and start another macro
the only way it works if is I keep running the macro over and over
I want it to run a macro until the personn says Sign out, then I want it to stop the macro and run another one... so far I have this..
mac+ "Macro1"
str a.getwintext(child("" "Ate32Class" win("Username1 : Username2- Instant Message" "AIM_IMessage") 0x5)) ;;****Gets the message from IM Window*****
sel a 3
,case "*Usernamehere: sign out*" ;;if contains this text (* are wildcard character, ie match 0 or more characters)
,mou 45 45
then like a, If Case = "Sign Out" then
mac- "Macro1"
any ideas? :?:
WAS ASLO THINKING - MAKE FUNCTION RUN 24/7 or until the Signout comes, then have another function stop the 24/7 running one, and start another macro
the only way it works if is I keep running the macro over and over
