JavaScript_Freek Posted August 5, 2006 Share Posted August 5, 2006 Alright somewhere I saw this script. Or if you can tell me the script. Ok so you run the script a msg box appears and says.. "What is your Name?" and below is an input box. Then below it is a "Submit!" button Then after that you hit Submit the box disspears and a new box (NOT MSG) appears and says whatever you put in the first box up top right. So in the first box lets say you put "Drew" then you hit submit. Then the box would dissapear and a new box would appear saying Logged In As: Drew top right. [center]Cookyx.com :: Simple LAN Chat[/center] Link to comment Share on other sites More sharing options...
Paulie Posted August 5, 2006 Share Posted August 5, 2006 (edited) Alright somewhere I saw this script. Or if you can tell me the script. Ok so you run the script a msg box appears and says.. "What is your Name?" and below is an input box. Then below it is a "Submit!" button Then after that you hit Submit the box disspears and a new box (NOT MSG) appears and says whatever you put in the first box up top right. So in the first box lets say you put "Drew" then you hit submit. Then the box would dissapear and a new box would appear saying Logged In As: Drew top right.That shouldn't be hard... #Include <GuiConstants.au3> $name = InputBox("Log In", "Whats Your Name?") $Win = GuiCreate("Program", 600, 600, -1, -1) GuiSetBkColor("0xCCCCCC") $label = GuiCtrlCreateLabel("Logged in as: "&$name, 10, 10, 75, 50) GuiSetState() While 1 $Msg = GuiGetMsg() If $Msg = $GUI_EVENT_CLOSE Then Exitloop Wend Edited August 5, 2006 by Paulie Link to comment Share on other sites More sharing options...
JavaScript_Freek Posted August 5, 2006 Author Share Posted August 5, 2006 Could you take out the space so it's Logged in as: USER not Logged in as: USER thanks [center]Cookyx.com :: Simple LAN Chat[/center] Link to comment Share on other sites More sharing options...
Paulie Posted August 5, 2006 Share Posted August 5, 2006 (edited) Could you take out the space so it'sLogged in as: USERnotLogged in as:USERthanksDone. Edited August 5, 2006 by Paulie Link to comment Share on other sites More sharing options...
JavaScript_Freek Posted August 5, 2006 Author Share Posted August 5, 2006 (edited) Sweet Thanks! Hey Paulie think i should add anything else to my wonderful GUI? Mymenu.au3 Edited August 5, 2006 by JavaScript_Freek [center]Cookyx.com :: Simple LAN Chat[/center] Link to comment Share on other sites More sharing options...
Paulie Posted August 5, 2006 Share Posted August 5, 2006 (edited) Sweet Thanks! Hey Paulie think i should add anything else to my wonderful GUI? Yes, make sliders and pics so it looks like the demo guiEdit:Link:http://www.autoitscript.com/autoit3/But it looks good so far Edited August 5, 2006 by Paulie Link to comment Share on other sites More sharing options...
JavaScript_Freek Posted August 5, 2006 Author Share Posted August 5, 2006 Yes, make sliders and pics so it looks like the demo guiEdit:Link:http://www.autoitscript.com/autoit3/But it looks good so far Alright!You mean sliders that go up and down? If so how would i implent in script? [center]Cookyx.com :: Simple LAN Chat[/center] Link to comment Share on other sites More sharing options...
Paulie Posted August 6, 2006 Share Posted August 6, 2006 Alright!You mean sliders that go up and down? If so how would i implent in script?I don't know... just for an example purpose. like a "Hello from the Sliders"heres an online helpfile link (I'm sure you've seen it)Look at 'GuiCtrlCreateSlider'http://www.autoitscript.com/autoit3/docs 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