Opens a document for reading or writing. It is a necessary before accessing the document file.
Path name of document file: Specifies the full path name of the document file.
Password to open Specifies the password to open the document, if the document type
does not support the open password, the parameters will be ignored.
Password to modify Specifies the password to modify the document, if the document type
does not support the write-protected password, the parameters will be ignored.
Open document for read-only Specifies whether to open the document for read only.
Show application when opening document Only for Microsoft Office, after opening the document the
program main window will show if the option is checked.
Don't close document after playback With the option checked, the application will not be closed after playback.
Automatically save changes of document before closing it Specifies whether to save the changes
before closing the document. The option is applied to the situation that there is no
"Close Document" action after this action, otherwise, it depends on the option in the
action "Close Document".
Document name Specifies name for identifying a document from others, other document related instructions
will use the name to select an open document rather than the path name of the document file.
To open a Microsoft Excel document, Microsoft Excel program must be present in the computer before playing a macro.
If opening the document failed, the global variable "error" will be set to "ERR".