This version is out of date, covering development from v8.0.0 to v8.x.x. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v8 Icon

HTMLExportPath


Attribute Data Type: 

Attribute Default Value: 

Attribute Group: 

Attribute Purpose: 

Attribute Inherited from Preferences?   

Attribute UI-configurable? 

Attribute Read-Only? 

Attribute Intrinsic? 

Attribute First Added: 

Attribute Altered: 

 string   [other string-type attributes]

 (calculated)

 HTML   [other HTML Group attributes]

 HTML export file configuration

 No

 No

 Yes

 No

 Baseline

 


The calculated export folder/filename path for the note (read-only)

The folders and file from export root that would be created if the file were exported at that time. It thus show the names of the folders & file with any characters omitted or substituted as part of the export process.

This can be extremely useful in more complex export scenarios where there is a need to reference in code an exported note's OS filename or path without being forced to hard-set $HTMLExportFileName. If not set, the latter cannot be queried within Tinderbox.

To get just the exported filename from the path:

$MyString = $HTMLExportPath.split("/").at(-1) 

For this note:

$Path = "/A Tinderbox Reference File/Attributes/System Attribute List/HTMLExportPath"

$HTMLExportPath = "/index/Attributes/SystemAttributeList/HTMLExportPath.html"

Note the spaces being lost in the latter. The export version will also show $HTMLExportFileNameSpacer changes, if the latter is set.