A Tinderbox Reference File : Export Codes : Export Codes - Full Listing : ^getFor(path | item, attribute[, format] )^ |
^getFor(path | item, attribute[, format] )^ |
^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: Export Codes - Full Listing | |
Previous: ^get( attribute[, format] )^ | Next: ^host^ |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]