forked from jesobreira/extinputbox_au3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExample 2.au3
More file actions
21 lines (19 loc) · 773 Bytes
/
Copy pathExample 2.au3
File metadata and controls
21 lines (19 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include 'ExtInputBox.au3'
$sData = _ExtInputBox("Login", "Your full name|Your email|Your telephone|Choose an username|Choose a password|Repeat password", "Mr./Ms. ||+1 |admin||", "5,6", "Register|Cancel")
If $sData = False Then
Switch @extended
Case 1
MsgBox(0, "", "You clicked Cancel")
Case 2
MsgBox(0, "", "You closed the window.")
Case 3
MsgBox(0, "", "Timeout ended (but we have no timeout on this example, so this will never happen)")
EndSwitch
Else
MsgBox(0, "You entered:", "Full name: " & $sData[1] & @CRLF & _
"Email: " & $sData[2] & @CRLF & _
"Telephone:" & $sData[3] & @CRLF & _
"Username: " & $sData[4] & @CRLF & _
"Password: " & $sData[5] & @CRLF & _
"Password repeat: " & $sData[6])
EndIf