myFolder.rename( newName ) in Photoshop DOM
Rename the folder.
Arguments
name | type | description |
---|---|---|
newName | String |
The new name for the folder. |
- 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 folder was successfully renamed.