Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/User-input-Text/AutoHotkey/user-input-text-1.ahk
Normal file
7
Task/User-input-Text/AutoHotkey/user-input-text-1.ahk
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
DllCall("AllocConsole")
|
||||
FileAppend, please type something`n, CONOUT$
|
||||
FileReadLine, line, CONIN$, 1
|
||||
msgbox % line
|
||||
FileAppend, please type '75000'`n, CONOUT$
|
||||
FileReadLine, line, CONIN$, 1
|
||||
msgbox % line
|
||||
23
Task/User-input-Text/AutoHotkey/user-input-text-2.ahk
Normal file
23
Task/User-input-Text/AutoHotkey/user-input-text-2.ahk
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
TrayTip, Input:, Type a string:
|
||||
Input(String)
|
||||
TrayTip, Input:, Type an int:
|
||||
Input(Int)
|
||||
TrayTip, Done!, Input was recieved.
|
||||
Msgbox, You entered "%String%" and "%Int%"
|
||||
ExitApp
|
||||
Return
|
||||
|
||||
Input(ByRef Output)
|
||||
{
|
||||
Loop
|
||||
{
|
||||
Input, Char, L1, {Enter}{Space}
|
||||
If ErrorLevel contains Enter
|
||||
Break
|
||||
Else If ErrorLevel contains Space
|
||||
Output .= " "
|
||||
Else
|
||||
Output .= Char
|
||||
TrayTip, Input:, %Output%
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue