The input command can be used to get user input, then run an editor command.
input [ "label" [ "text" ] ] "command"
label | Use the label parameter to specify the prompt that you want to display for the user. If label contains quotes or backslashes, they must be quoted with the backslash character. If you do not wish to specify a prompt string but you need to specify the text parameter, then you must specify an empty string (""). |
text | Use the text parameter to specify the text that you want to initialize the entry field with. If text contains quotes or backslashes, they must be quoted with the backslash character. |
command | Use the command parameter to specify the command that you want to run if the user hits enter from the input prompt. The command must include any parameters and trailing spaces. The text that the user entered into the entry field will be appended to the command's parameters. The command may be any valid editor command. If the command contains quotes or backslashes, they must be quoted with the backslash character. |
The status parameter is not affected by this command.
input "Enter fill character:" "block fill " input "" "text" "set messageText "
blockFill action
locateLine action
nameMark action
rename action
Default editor commands