Heroic Posted October 27, 2007 Share Posted October 27, 2007 Hey people. I'm just wondering if anyone could quickly or slowly help me on getting this bot complete. I wouldn't really call it a bot, but more of a status changer. Here's the code i wrote && Gui by Koda expandcollapse popup#include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $msnqq = GUICreate("MSN Q.Q", 158, 454, 193, 125) $online = GUICtrlCreateButton("Online", 8, 16, 137, 25, 0) GUICtrlSetFont(-1, 8, 400, 0, "Verdana") $busy = GUICtrlCreateButton("Busy", 8, 48, 137, 25, 0) GUICtrlSetFont(-1, 8, 400, 0, "Verdana") $brb = GUICtrlCreateButton("Be right back", 8, 80, 137, 25, 0) GUICtrlSetFont(-1, 8, 400, 0, "Verdana") $away = GUICtrlCreateButton("Away", 8, 112, 137, 25, 0) GUICtrlSetFont(-1, 8, 400, 0, "Verdana") $iacall = GUICtrlCreateButton("In a call", 8, 144, 137, 25, 0) GUICtrlSetFont(-1, 8, 400, 0, "Verdana") $otlunch = GUICtrlCreateButton("Out to lunch", 8, 176, 137, 25, 0) GUICtrlSetFont(-1, 8, 400, 0, "Verdana") $appearoff = GUICtrlCreateButton("Appear offline", 8, 208, 137, 25, 0) GUICtrlSetFont(-1, 8, 400, 0, "Verdana") $display = GUICtrlCreateLabel("APPEAR", 32, 280, 49, 17) GUICtrlSetFont(-1, 8, 400, 0, "Verdana") GUICtrlSetColor(-1, 0x008000) $status = GUICtrlCreateGroup("Status", 16, 264, 113, 41) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") GUICtrlCreateGroup("", -99, -99, 1, 1) GUISetState(@SW_SHOW) $status1 = "Online"() $status2 = "Busy"() $status3 = "BRB"() $status4 = "Away"() $status5 = "In a call"() $status6 = "Lunch"() $status7 = "OFFLINE"() #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $online GUICtrlSetData($display, $status1) Case $busy GUICtrlSetData($display, $status2) Case $brb GUICtrlSetData($display, $status3) Case $away GUICtrlSetData($display, $status4) Case $iacall GUICtrlSetData($display, $status5) Case $otlunch GUICtrlSetData($display, $status6) Case $appearoff GUICtrlSetData($display, $status7) EndSwitch WEnd Now, i have no idea what to do with this to change the statuses of my MSN. Could anyone please help me or lead me to a direction on completing this? Thank you!! Link to comment Share on other sites More sharing options...
Blue_Drache Posted October 27, 2007 Share Posted October 27, 2007 Window Spy ... or the AutoIt Window Information Tool. (Ctrl+F6 if you use SciTE) Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
Heroic Posted October 27, 2007 Author Share Posted October 27, 2007 Ctrl F6 doesn't work for me, and im using scite. But im not sure how this Autoit info thing works. Link to comment Share on other sites More sharing options...
Blue_Drache Posted October 27, 2007 Share Posted October 27, 2007 Then save your file as "Filename.au3" in SciTE and you'll be able to use Ctrl+F6. Use F1 to search the help file. Specifically: AutoIt Window Info Tool (AU3Info) Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
Heroic Posted October 27, 2007 Author Share Posted October 27, 2007 (edited) Okay, i've been reading what it says in the AutoIt Info file when i click on my MSN but it doesn't help me. Class: MSBLWindowClass Control: DirectUIHWND is there anything i can do with these? or something :S (so, sorry for being a total noob, im not sure how telling another program to do something works other then send commands through keyboard && mouse using co-ords on my res) Edited October 27, 2007 by Heroic Link to comment Share on other sites More sharing options...
Heroic Posted October 27, 2007 Author Share Posted October 27, 2007 Anyone could help me please? - I wanna get this complete by the end of this week hopefully. =) 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