User input/Text: Difference between revisions

Content deleted Content added
→‎{{header|AutoHotkey}}: moving some to gui
→‎{{header|AutoHotkey}}: windows console example
Line 30: Line 30:
~
~
=={{header|AutoHotkey}}==
=={{header|AutoHotkey}}==
===Windows console===
<lang AutoHotkey>
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</lang>

===Input Command===
===Input Command===
this one takes input regardless of which application has focus.
<lang AutoHotkey>TrayTip, Input:, Type a string:
<lang AutoHotkey>TrayTip, Input:, Type a string:
Input(String)
Input(String)