Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 19:15

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Username in Variable

Discussion on Username in Variable within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2009
Posts: 70
Received Thanks: 8
Username in Variable

Hallo,
ich wollte ein kleines Programm für meine jüngere Cousine anfertigen, denn sie hat viel Spaß an solchen Programmen
Und zwar möchte ich zuerst eine InputBox erscheinen lassen, inder nach dem Namen gefragt wird. Danach soll sich eine MsgBox öffnen, wo steht: Herzlich Willkommen ... ( ... = der Name)
So siehts im Moment aus.

Code:
$input1 = InputBox("Hallo", "Hallöchen! Bevor es losgehen kann, &CRLF möchte ich gern wissen, wie du heißt.")
MsgBox("Herzlich Willkommen", "Herzlich Willkommen USERNAME") ; USERNAME: Hier soll dann ihr Name automatisch angezeigt werden.
Ich weiß es ist ein kleines Problem aber ihr würdet mir sehr helfen!
Danke.
qwerer29 is offline  
Old 04/01/2010, 17:22   #2
 
Der-Eddy's Avatar
 
elite*gold: 400
Join Date: Nov 2008
Posts: 67,909
Received Thanks: 19,503
Code:
$input1 = InputBox("Hallo", "Hallöchen! Bevor es losgehen kann, möchte ich gern wissen, wie du heißt.")
MsgBox(0, "Herzlich Willkommen", "Herzlich Willkommen" & @CRLF & $input1)
Geht jedenfalls bei mir
Der-Eddy is offline  
Thanks
1 User
Old 04/01/2010, 20:43   #3
 
elite*gold: 0
Join Date: Apr 2009
Posts: 70
Received Thanks: 8
Hat super funktioniert. Danke
Ist zwar was kleines, aber bekommst ein Thanks ^^
qwerer29 is offline  
Reply


Similar Threads Similar Threads
Error Variable used .....
05/26/2010 - AutoIt - 3 Replies
Hi, #include <NomadMemory.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <ButtonConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 625, 445, 193, 125)
Variable und down/up befehl
09/23/2009 - AutoIt - 0 Replies
Hallo! Also ich habe folgendes Problem: Ich will meine variable ($taste1) und den "{down}" tastendruck ausführen aber wie krieg ich das hin also möchte das die variable taste1 runtergedrückt wird bis ich sie wieder mit "{up}" loslasse. Allerdings weis ich es bei up auch nicht Mein script sieht bisher so aus Send($taste1 "{down}") Thx schonmal in vorraus:confused::( ok habs jetzt nach langer zeit =) ich hab es einfach über eine if schleife gemacht Ok Funktioniert doch net hat keiner...
How do I add a variable
08/21/2009 - CO2 Private Server - 4 Replies
Couldn't find a guide when I searched. I want to make a variable so it will check how many times the player has already used unknown man. I know how to use the variable, but just don't know how to make it. Oh yea this is LOTF
username
06/17/2008 - Conquer Online 2 - 3 Replies
is their any way to retrieve all the usernames you have used to play chars on conquer?



All times are GMT +2. The time now is 19:15.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.