I am attempting to script the placement of multiline text into a field when a user presses a button. It's probably my syntax knowledge that is letting me down (and my google-fu).
The scenario is when a user presses a button
This is copied into a field
Code: Select all
Line one of the text
Line two of the text
Line three
Code: Select all
"Line one of the text /n Line two of the text /n Line three"
Could someone please let me know how the above would be structured in Livecode. I know it's
Code: Select all
put the text "foo" into the field "bar"