CageZ Posted April 26, 2010 Share Posted April 26, 2010 (edited) expandcollapse popup#include <Array.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <GUIEdit.au3> #include <Misc.au3> #include <String.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> Global $sData = "Naruto GOA Revised" $hForm1 = GUICreate("Naruto GOA Control System", 450, 500) GUISetBkColor(0x000000) $hEdit1 = GUICtrlCreateEdit("Start Goa Revised...", 0, 0, 450, 500, BitOR($ES_AUTOVSCROLL, $ES_MULTILINE, $ES_WANTRETURN, $ES_READONLY, $WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE, $WS_BORDER)) GUICtrlSetFont(-1, 9, 000, 0, "Lucida Console") GUICtrlSetColor(-1, 0xEAEEF5) GUICtrlSetBkColor(-1, 0x000000) GUISetState() AdlibEnable("_Check", 500) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Func _Check() If $sData <> WinGetText("Naruto GOA Revised") Then $sData = WinGetText("Naruto GOA Revised") GUICtrlSetData($hEdit1, "") _GUICtrlEdit_AppendText($hEdit1, @CRLF & StringReplace(StringReplace($sData, @CR, @CRLF), @LF, @CRLF)) EndIf EndFunc ;==>_Check While 1 Sleep(10) WEnd ok ,so i want it to flash when the text in the box says help becouse its a chat thing... so if somone says help it flashes up... if you get what i mean Like when you get a message on msn Edited April 26, 2010 by CageZ Link to comment Share on other sites More sharing options...
GEOSoft Posted April 26, 2010 Share Posted April 26, 2010 You either use the GUISetState() or You create a separate popup window and use GUISetState() with that. The 2 best for this situation are. GUISetState(@SW_HIDE) and GUISetState(@SW_SHOW). The reason I'm not re-working your code to show you is because that code is so wrong it would take to long to redo it. Hint: Instead of WinGetText(), try GUICtrlRead($hEdit1) George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
CageZ Posted April 26, 2010 Author Share Posted April 26, 2010 You either use the GUISetState() or You create a separate popup window and use GUISetState() with that. The 2 best for this situation are.GUISetState(@SW_HIDE) and GUISetState(@SW_SHOW).The reason I'm not re-working your code to show you is because that code is so wrong it would take to long to redo it. Hint: Instead of WinGetText(), try GUICtrlRead($hEdit1)Lol im sorry im so new to this could you explain to me were some of this goes,i know a little... 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