the documentFile of factor
documentFile ( expression )
Factor and expression yield strings.
The documentFile function returns a file that represents the document with the specified name. If no such document can be found, the documentFile function returns empty. In OpenXION, the locations searched for documents are determined by the documentPaths property.
The documentFile function is specific to OpenXION; it is not part of the XION Scripting Language Standard.
To use this function, OpenXION's security settings must allow the FILE_SYSTEM_READ security key. If the required security key is denied, a script error will be triggered.
open, documentPaths, appPath, appFile, docPath, appOrDocPath, appOrDocFile