Total noob needs help with script to alter filename.

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

Sterling

Total noob needs help with script to alter filename.

Post by Sterling »

I'm looking to create a script that will modify the filename of an existing document. So the doc of filename.jpg could become filename_modification.jpg, or something similar. This is part of a larger action that will be used to split PSD's in half (left and right sides) and deposit the split-files into a common folder.

Can anyone lend a hand? I don't have a clue where to start.

Professional AI Audio Generation within Adobe Premiere Pro - Download Free Plugin here

xbytor

Total noob needs help with script to alter filename.

Post by xbytor »

You can't rename the document. You can, however, do a saveAs and save it to a new filename. Or duplicate it and specify a new name then.