File Functions, Procedures and Properties are distributed across the Api tree.
__FILE__ script file path and name
TW (normally requiring a prior security setting by the User in Edit/Preferences/Script)—
TW.app (not specific to the current document)
TW.target (current editing document)
.saveAll() (all documents)
Created with the Personal Edition of HelpNDoc: Easily create CHM Help documents