myFolder.rename( newName ) in Photoshop DOM

Rename the folder.

Arguments

nametypedescription
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.