Everything

project.Open


This function opens a project.

[Specification format]

project.Open(fileName, save = False)

[Argument(s)]

Argument

Description

fileName

Specify a project file.

save

If another project was opened, specify whether to save any files being edited and the project when you close it.

True: Save all editing files and a project.

False: Do not save all editing files and a project (default).

[Return value]

If the project was closed successfully: True

If there was an error when closing the project: False

[Detailed description]

-

This function opens a project specified by fileName.

-

If other project is opened, that project is closed.
If save is set to "True", then all files being edited and a project are saved.

-

If other project is not opened, the setting of save is ignored.

[Example of use]

>>>project.Open(r"C:/test/test.mtpj")
True
>>>