Jump to content

Yahoo messenger automation


Recommended Posts

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
WEnd

Please help me because i have tried since i started AU3 programming, but no results...

Thank you.

Edited by AutoBot
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...