The get_filename
function returns the path of the file associated with a document.
get_filename( doc )
Argument | Description |
---|---|
doc
|
(LuaDocument) The function returns the path of the file associated with this document. |
String. Returns the path and file name of the file associated with the document, or an empty string if there is no file associated with the document.
local filename = get_filename(document);_FT_HTML5_bannerTitle.htm