OpenDocument()
Opens a document with the operating system's associated application.
Syntax
OpenDocument(path)Parameters
path
Type: string
Full path or URL of the document to open.
Return value
This function does not return a value.
Remarks
OpenDocument() asks the operating system to open the specified document using the application currently associated with that file type or URL scheme.
Use this function to show an exported report, open a generated file, display documentation, or let the user inspect a document referenced by an add-on.
The exact application and behavior depend on the operating system, installed applications, browser settings, and user file associations.
Example
This opens the documentation link using the user's default browser.
See also
Last updated
