[S8360] Script to check the storage location of project files (.jproj)

 

The following is an example of a script that checks the storage location of project files (.jproj).

from pathlib import Path

app = designer.GetApplication()

# Get the path of the project file

PathA = app.GetProjectPath()

# Get the folder path

pathB = Path(PathA).parent

# Display the acquired path

print(pathB)

How to use script file

Use the JMAG Script Library after reading and agreeing to the following terms of use.