Tinderbox v10 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 in Current Baseline: 

Attribute Last Altered: 

 string   [other string-type attributes]

 (calculated)

 HTML   [other HTML Group attributes]

 HTML export file configuration

 No

 No

 Yes   [other read-only attributes]

 No

 v5.10.2

 Baseline

 As at 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/Automating Tinderbox/Coding/Use of Attributes/Attribute Listings/System Attribute List/HTMLExportPath"

$HTMLExportPath = "/index/Automating_Tinderbox/Coding/Use_of_Attributes/Attribute_Listings/System_Attribute_List/HTMLExportPath.html"

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