Search found 2 matches

by James Jellings
Wed Aug 17, 2016 1:38 pm
Forum: Help Me
Topic: Save Current File As with addition to filename
Replies: 8
Views: 9671

Re: Save Current File As with addition to filename

THought I'd got there with the below, but no luck! #target photoshop var doc = app.activeDocument; var docName = doc.name; docName = docName.match(/(.*)(\.[^\.]+)/) ? docName = docName.match(/(.*)(\.[^\.]+)/):docName = [docName, docName]; var suffix = '_example'; var saveName = new File(decodeURI(do...
by James Jellings
Wed Aug 17, 2016 1:21 pm
Forum: Help Me
Topic: Save Current File As with addition to filename
Replies: 8
Views: 9671

Save Current File As with addition to filename

Hi, I'm wondering if anyone can help - I need to create a very simple script but I am already struggling - I need to save the active document in the current location, same filetype, with the existing filename, but with an addition e.g. 'C:\currentpath\currrentfile_alternative.currentextention' Thank...