myFile.rename( newName ) in Photoshop DOM
Rename the file.
Arguments
name | type | description |
---|---|---|
newName | String | The new name for the file. |
- Return Type
- Boolean
Description
The new name must not have a path.
The method does not resolve aliases; it rather renames the alias file itself.
The return value is true
if the file was successfully renamed.