A Tinderbox Reference File : Attributes : System Attribute List : Text |
Text |
Attribute Data Type: | string |
Attribute Default Value: | (not set - empty string) |
Atrribute Group: | n/a |
Attribute Inherited from Preferences? | No |
Attribute Read-Only? | No |
The implicit Text attribute of any note/agent - i.e. it's body copy - is no longer read-only. Actions may set the text of a note/agent. Note that setting the Text can be hazardous, since information already typed can be replaced by an action without any further warning.
For example, the action
Text=`ls ~
replaces the text of the note with a directory listing of the user's home folder.
Actions that set the Text also set the note's ReadOnly attribute to true. (If the text was set by a container or adornment action, you may change this value and edit as you wish. If the text was set by an agent action or a rule, changing the ReadOnly value may not be effective, since the text and ReadOnly will both be changed back the next time the agent or the rule is run.
Deleting text works properly using Text=""
or Text=;
Setting Text via an action or rule results in the new text using the TextFont font.
Up: System Attribute List | |
Previous: Telephone | Next: TextBackgroundColor |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]