houseonfire Posted September 15, 2007 Posted September 15, 2007 (edited) I wish to use this CSS Sheethttp://www.vume.com/css/master.cssto make (line 129)h2 { font-size: 150%; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0pt; }Show up on a GUICTRLCREATEDIT#include <GUIConstants.au3> $Form1 = GUICreate("Profits", 246, 166, 231, 134) $Edit1 = GUICtrlCreateEdit("", 64, 32, 153, 89) GUICtrlSetData(-1, $profit) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Edited September 15, 2007 by houseonfire
James Posted September 15, 2007 Posted September 15, 2007 InetGet() FileOpen GuiCtrlSetData() FileDelete() Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
houseonfire Posted September 15, 2007 Author Posted September 15, 2007 Thanks, but what would i use the FileOpen, and FileDelete() commands for?
James Posted September 15, 2007 Posted September 15, 2007 I wont do it for you but use this: InetGet("file", "save2") $FILE = FileOpen("where ever you saved file") GuiCtrlSetData("MYEdit", $FILE) Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
houseonfire Posted September 15, 2007 Author Posted September 15, 2007 (edited) Alright cool. Thanks. I feel dumb.. I think I have most of it.. but i just don't understand the GuiCtrlSetData command.. The help file helps a little, but it doesn't help in the way I'm using it for. I don't want you to do it for me, but can you explain the GuiCtrlSetData command please? #include <GUIConstants.au3> $Form1 = GUICreate("Profits", 246, 166, 231, 134) $Edit1 = GUICtrlCreateEdit("", 64, 32, 153, 89) GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Form1 InetGet("http://www.vume.com/css/master.css", "C:\Documents and Settings\Admin\Desktop\Vume Bots\master.css", 1) $FILE = FileOpen("C:\Documents and Settings\Admin\Desktop\Vume Bots\master.css",1) GuiCtrlSetData(-1 ,"item1", $FILE) EndSelect WEnd Edited September 15, 2007 by houseonfire
James Posted September 16, 2007 Posted September 16, 2007 Try this: #include <GUIConstants.au3> $Form1 = GUICreate("Profits", 246, 166, 231, 134) $Edit1 = GUICtrlCreateEdit("", 64, 32, 153, 89) GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Form1 InetGet("http://www.vume.com/css/master.css", "C:\Documents and Settings\Admin\Desktop\Vume Bots\master.css", 1) $FILE = FileOpen("C:\Documents and Settings\Admin\Desktop\Vume Bots\master.css",1) GuiCtrlSetData($Edit1, $FILE) EndSelect WEnd Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
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