$input » History » Version 1
Per Amundsen, 08/14/2015 12:59 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$input(prompt,[options],[window],[title],[text])* |
||
| 4 | |||
| 5 | Prompts the user for input and returns the result. |
||
| 6 | |||
| 7 | *parameters* |
||
| 8 | |||
| 9 | prompt - Question text. |
||
| 10 | [options] - (optional) |
||
| 11 | <pre> |
||
| 12 | e - show input Editbox. |
||
| 13 | p - show input password Editbox. |
||
| 14 | o - TODO |
||
| 15 | y - TODO |
||
| 16 | n - TODO |
||
| 17 | r - TODO |
||
| 18 | v - TODO |
||
| 19 | g - TODO |
||
| 20 | b - TODO |
||
| 21 | f - TODO |
||
| 22 | i - TODO |
||
| 23 | q - TODO |
||
| 24 | w - TODO |
||
| 25 | h - TODO |
||
| 26 | d - TODO |
||
| 27 | s - TODO |
||
| 28 | a - TODO |
||
| 29 | u - use current active window as parent window |
||
| 30 | kN - TODO |
||
| 31 | m - TODO |
||
| 32 | </pre> |
||
| 33 | |||
| 34 | [window] - TODO |
||
| 35 | [title] - The Titlebar text |
||
| 36 | [text] - The default text placed in the input Editbox. |
||
| 37 | |||
| 38 | *Example* |
||
| 39 | |||
| 40 | <pre> |
||
| 41 | ; Ask for a name and print it. |
||
| 42 | //echo -ag $input(What is your name?, Question) |
||
| 43 | </pre> |