|
OpenProject |
|
|
Opens an existing Docklight project file (.ptp file).
Return Value
Void
Syntax
DL.OpenProject filePathName
The OpenProject method syntax has these parts:
Remarks
If filePathName is not a valid Docklight project file or does not exist, Docklight reports an error and the script execution is stopped.
If filePathName is an empty string, a file dialog will be displayed to choose a project file.
All Receive Sequence counters are reset when (re)opening a Docklight project, see the ResetReceiveCounter function.
Example
' Example OpenProject
' Load a Docklight project file DL.OpenProject "D:\My Docklight Files\Test.ptp"
' Load the file 'Test.ptp' from the current working directory DL.OpenProject "Test" |