This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
|
A Tinderbox Reference File : Attributes : Attribute Groups within Tinderbox : Textual Attributes : Text | aTbRef Site Map |
Text |
Attribute Data Type: | string |
Attribute Default Value: | (not set - empty string) |
Atrribute Group: | Textual |
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: Textual Attributes | |
Previous: ReadOnly | Next: TextExportTemplate |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]