Functions

appOrDocFile

Supported By

Syntax

[the] appOrDocFile of factor

appOrDocFile ( expression )

Factor and expression yield strings.

Description

The appOrDocFile function returns a file that represents the application or document with the specified name. If no such application or document can be found, the appOrDocFile function returns empty. In OpenXION, the locations searched for applications and documents are determined by the applicationPaths and documentPaths properties, respectively.

Note

The appOrDocFile function is specific to OpenXION; it is not part of the XION Scripting Language Standard.

Security

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.

Synonyms

applicationOrDocumentFile, progOrDocFile, programOrDocumentFile

See Also

open, applicationPaths, documentPaths, appPath, appFile, docPath, docFile, appOrDocPath