< Previous | Contents | Manuals Home | Boris FX | Next >
โScript-Folder-Relative Include Files
Script-folder-relative names start with โ$/โ and are evaluated relative to one of the script folders, ie โ$/foo.szlโ means a file directly in the folder, while โ$/Lens/lensdefs.szlโ means look for lensdefs.szl in the script folderโs Lens subfolder.
Tip: We recommend using Script-Folder-Relative include file paths in most cases, instead of relative or absolute paths!
SynthEyes looks for the file first in the โScript/User script folderโ. If the file isnโt found in the user area, then SynthEyes looks in any user-specified script directories, in reverse order to match โ PATH Environment Variable and Multiple Script Directories.โ If the file still isnโt found, it looks in the preferenceโs scripts folder, if present, or in the โScript/System script folderโ if not.
Script-folder-relative names are good for files like lensdefs that are independent of the file including it. Using โ$/โ specifications, a script containing
an INCLUDE continues to work if it is moved to a subfolder or from the system area to the user area, without requiring the path to be adjusted or the target file to be brought along.
ยฉ2025 Boris FX, Inc.ย โย UNOFFICIALย โย Converted from original PDF.