XInFisk Posted June 30, 2006 Share Posted June 30, 2006 How do i make a setup file with gui? I mean in the setup file is there maybe a place where you can enter where your counter-strike.exe file is. and all that and then it so write it to a .ini file. Can anyone help me? -XInFisk Link to comment Share on other sites More sharing options...
gamerman2360 Posted June 30, 2006 Share Posted June 30, 2006 I don't get the question. Write settings to an INI file or something? Link to comment Share on other sites More sharing options...
XInFisk Posted June 30, 2006 Author Share Posted June 30, 2006 How do i make a setup file with gui? I mean in the setup file is there maybe a place where you can enter where your counter-strike.exe file is. and all that and then it so write it to a .ini file. Can anyone help me?-XInFiskHi, I mean when people write lets say what there account name is and then push OK then it will write it a .ini file.. Setup.ini or something. Sry for my bad english -XInFisk Link to comment Share on other sites More sharing options...
gamerman2360 Posted June 30, 2006 Share Posted June 30, 2006 (edited) You know about the INI functions and GUI functions right?#region --- GuiBuilder code Start --- ; Script generated by AutoBuilder 0.6 Prototype #include <GuiConstants.au3> GuiCreate("MyGUI", 392, 316,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $Input_1 = GuiCtrlCreateInput("", 50, 100, 140, 20) $Input_2 = GuiCtrlCreateInput("", 50, 160, 140, 20) $Label_3 = GuiCtrlCreateLabel("Test Name", 50, 80, 90, 20) $Label_4 = GuiCtrlCreateLabel("Test Password", 50, 140, 100, 20) $Button_5 = GuiCtrlCreateButton("Test Submit", 10, 190, 370, 120) GuiSetState() While 1 Switch GuiGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case $Button_5 IniWrite("Setup.ini", GUICtrlRead($Input_1), "Pass", GUICtrlRead($Input_2)) EndSelect WEnd #endregion --- GuiBuilder generated code End ---You might also want to hash the password and check it aginsed the hash or something like that. Also set the password inputbox to not show the characters using some style setting, I think. Edit: [ autoit] tag is escaping my "(" characters! Edited June 30, 2006 by gamerman2360 Link to comment Share on other sites More sharing options...
XInFisk Posted June 30, 2006 Author Share Posted June 30, 2006 You know about the INI functions and GUI functions right?#region --- GuiBuilder code Start --- ; Script generated by AutoBuilder 0.6 Prototype #include <GuiConstants.au3> GuiCreate("MyGUI", 392, 316,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $Input_1 = GuiCtrlCreateInput("", 50, 100, 140, 20) $Input_2 = GuiCtrlCreateInput("", 50, 160, 140, 20) $Label_3 = GuiCtrlCreateLabel("Test Name", 50, 80, 90, 20) $Label_4 = GuiCtrlCreateLabel("Test Password", 50, 140, 100, 20) $Button_5 = GuiCtrlCreateButton("Test Submit", 10, 190, 370, 120) GuiSetState() While 1 Switch GuiGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case $Button_5 IniWrite("Setup.ini", GUICtrlRead($Input_1), "Pass", GUICtrlRead($Input_2)) EndSelect WEnd #endregion --- GuiBuilder generated code End ---You might also want to hash the password and check it aginsed the hash or something like that. Also set the password inputbox to not show the characters using some style setting, I think. Edit: [ autoit] tag is escaping my "(" characters!Oh thanks ! Thanks for your help Now i got a idea about how i make it -XInFisk 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