Harmonful Posted April 9, 2010 Share Posted April 9, 2010 (edited) Well when i run the script the edit in the window is: <font color=#FF8000 style=font-size:30px><i>.</i></font><font color=#FF8000 style=font-size:30px><i>.</i></font> And i just want: .. (in red color) plx help Edited April 9, 2010 by Ryona Link to comment Share on other sites More sharing options...
dantay9 Posted April 9, 2010 Share Posted April 9, 2010 This doesn't seem related to autoit, but if you just want the periods to be red, change "#FF8000" to "#FF0000". Link to comment Share on other sites More sharing options...
Harmonful Posted April 9, 2010 Author Share Posted April 9, 2010 here is the script:#include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $read=FileRead("Log.txt") #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 633, 448, 192, 124) GUICtrlCreateEdit("", 336, 176, 289, 265, BitOR($ES_WANTRETURN,$WS_HSCROLL,$WS_VSCROLL,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE)) GUICtrlSetData(-1, $read) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEndAnd the script executing is this: Link to comment Share on other sites More sharing options...
dantay9 Posted April 9, 2010 Share Posted April 9, 2010 Oh. That's different. I don't know of an easy way off the top of my head. A RichEdit control will probably work for you. It is similar to an edit control, but with more capabilities as far as customizing. There are several UDFs covering RichEdit controls. 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