^getFor(path | item, attribute[, format] )^

Tinderbox Icon

^getFor( path | item, attribute[,format])^

Gets any attribute you specify for any note you specify via the path. Note that:

^getFor (CurrentFileName, attribute)^

will get any attribute of the file like a root note. You can use just the note name, a partial path or a full path with outline layers being delimited with forward slashes: 'top/middle/bottom/note'

Multiple levels of inclusion are permitted, but cycles are detected and broken.

Color values - regardless of how defined inside the TBX (name, RGB or hex) are exported as hex; e.g #FF0000.If the attribute is of 'date' type then optionally a format string may be cited.

Since paths let you do everything the old syntax allowed (and more), the old syntax is considered confusing and has been dropped.


Up: Item-based
Previous: ^get( attribute[, format] )^  Next: ^inboundBasicLinks( [start, list-item-prefix, list-item-suffix, end, type] )^ 

[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