This version is out of date, covering development from v9.0.0 to v9.3.0. 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 v9 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   [other read-only attributes]

 No   [other intrinsic attributes]

 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.