Need help?
Ask a question or report a problem on GitHub.
Open an issue
text box
A box the person types into. Read what they typed with text of, and react as they type with changed.
Syntax
Otter
create text box into name
Properties
Output
text text What is in the box placeholder text Hint shown while the box is empty width number Width in pixels height number Height in pixels background color Background color foreground color Text color align word left, center or right
Events
Output
changed runs each time the text changes
Example
Otter
create window into app title of app is "Copy text" create text box into input placeholder of input is "Type here" create text into output text of output is "Your text appears here" create button into copyButton text of copyButton is "Copy" put input in app put output in app put copyButton in app when copyButton is clicked text of output is text of input . show app
Expected result
Type into the box and press Copy: the line below changes to what you typed.
button Events