projectpath()

Function that returns the directory where the project is stored.

Note: The path is returned as a string. The path uses slashes (/) for the path and the last character of the path is always a slash.

The function projectpath() is located in the file project.jsxinc.

Usage

var projectpath = projectpath();

Parameters

This function has no parameters.

Return values

Value Meaning
null There is no project.
string The directory the project is stored.