Surviver Posted July 8, 2010 Share Posted July 8, 2010 (edited) Hello , I want to automate Yahoo Messenger to send a mass message to all my list.I have tried with ControlClick, but it didn't work because, on Control Information from AU3InfoTool, all was blank. I don't know how to do it.I have tried but without results, the folowing code:#include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Mass la toata lista", 333, 162, 192, 124) $Label1 = GUICtrlCreateLabel("Message here:", 8, 16, 62, 17) $Input1 = GUICtrlCreateInput("Message...", 0, 48, 329, 21) $Label2 = GUICtrlCreateLabel("The group name here:", 8, 90, 57, 17) $Input2 = GUICtrlCreateInput("Group name...", 0, 128, 329, 21) $Button1 = GUICtrlCreateButton("Send it", 240, 80, 75, 25, $WS_GROUP) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 If WinActivate("[CLASS:SysListView32; INSTANCE:1]") then GuiCtrlRead($Input2) Controlclick("Broadcast an IM to this Group...","","","right") Send($Input1) endif EndSwitch WEndPlease help me because i have tried since i started AU3 programming, but no results...Thank you. Edited July 8, 2010 by AutoBot Link to comment Share on other sites More sharing options...
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