Sign in to follow this  
Followers 0
JavaScript_Freek

Hello "____" HELP

8 posts in this topic

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]

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Paulie

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Could you take out the space so it's

Logged in as: USER

not

Logged in as:

USER

thanks

Done. Edited by Paulie

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Sweet Thanks! Hey Paulie think i should add anything else to my wonderful GUI? :whistle:

Mymenu.au3

Edited by JavaScript_Freek

[center]Cookyx.com :: Simple LAN Chat[/center]

Share this post


Link to post
Share on other sites

#6 ·  Posted (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 gui

Edit:

Link:

http://www.autoitscript.com/autoit3/

But it looks good so far :whistle:

Edited by Paulie

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0