theguy0000 Posted February 18, 2006 Share Posted February 18, 2006 im making an auto-reply script for yahoo messenger. well, so far almost everything works, except the gui. it auto-replies as normal, there are no errors, SCiTE Syntax Check didnt find anything. there's just no GUI. #include <GUIConstants.au3> Opt("WinTitleMatchMode", 2) $away = InputBox ("AutoAway", "Please enter an away message.", "I'm Away") GUICreate ("Away", 221, 111, (@DesktopWidth-221)/2, (@DesktopHeight-111)/2) $Label = GuiCtrlCreateLabel($away, 10, 10, 200, 60) $Button_back = GuiCtrlCreateButton("I'm Back!", 70, 80, 80, 20) While 1 $msg = GUIGetMsg() Select Case $msg = $Button_back Or $msg = $GUI_EVENT_CLOSE Exit EndSelect If WinExists (" - Instant Message") Then ;~ If WinExists (" - Conversation") Then;15 chars WinActivate ( " - Instant Message" );18 chars ControlSend ( "Instant Message", "", 225, $away) ControlClick( "Instant Message", "", 588 ) ;~ WinActivate ( " - Conversation" );18 chars ;~ ControlSend ( "Instant Message", "", 1, $away) ;~ ControlClick( "Instant Message", "", 2 ) WinClose ("") EndIf WEnd The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
MHz Posted February 18, 2006 Share Posted February 18, 2006 Add GUISetState() before the loop to see the gui . Link to comment Share on other sites More sharing options...
theguy0000 Posted February 18, 2006 Author Share Posted February 18, 2006 oh ok thanks The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN 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