myFile.getRelativeURI( [ basePath ] ) in Photoshop DOM

Calculate the path relative to another.

Arguments

nametypedescription
basePath String [optional] The path to calculate relative
Return Type
String

Description

Calculate and return the relative URI, given a base path, in URI notation. If the base path is omitted, the path of the current folder is assumed.