Text

Tinderbox Icon


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. As of v3.6.0, and 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.

From v4.0.0, deleting text works properly using Text="" or Text=;

From v4.0.1, setting Text via an action or rule results in the new text using the TextFont font.


Up: System Attribute List
Previous: Telephone  Next: TextBackgroundColor 

[Last updated: 3 Dec 2008]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox