the progOrDocPath of factor
progOrDocPath ( expression )
Factor and expression yield strings.
The progOrDocPath function returns the path of the application or document with the specified name. If no such application or document can be found, the progOrDocPath function returns empty. In OpenXION, the locations searched for applications and documents are determined by the applicationPaths and documentPaths properties, respectively.
The progOrDocPath 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.
applicationOrDocumentPath, appOrDocPath, path, programOrDocumentPath
open, applicationPaths, documentPaths, appPath, appFile, docPath, docFile, appOrDocFile