OnAdd

Tinderbox Icon


Attribute Data Type:   action
Attribute Default Value:   (not set - empty string)
Atrribute Group:   General
Attribute Inherited from Preferences?     No
Attribute Read-Only?   No

An action, or list of actions (separated by semi-colons), to be performed when a note becomes child of the current note, be it new or moved there by dragging. Adornments also offer 'OnAdd' action support. Although it takes a string argument, the string must be valid action syntax.

OnAdd actions are applied to each item of a multiple-item drag, even if the dragged notes originate in a different file. The OnAdd action is applied only when a note is created inside a container, or is moved into a container from some other container. This stops OnAdd being re-applied for actions like moving an note on a Map and where OnAdd may have iterative effects on a note if re-applied. Pasting a note into a container runs the OnAdd action.

The container's OnAdd action acts on both newly-made notes and agents.


Up: General Attributes
Previous: Name  Next: OutboundLinkCount 

[Last updated: 1 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