Author

Topic: [closed] (Read 781 times)

hero member
Activity: 728
Merit: 500
April 26, 2012, 12:13:08 PM
#4
Figured it out.
hero member
Activity: 728
Merit: 500
April 26, 2012, 08:13:21 AM
#3
Bounty down to half a btc

Code:
this.dpath = app.activeDocument.path;
this.filename = app.activeDocument;
this.filenumber = 0;
var f = new File(this.dpath+"/"+ this.filename + "measurements" + this.filenumber + ".txt" );
                  app.measurementLog.exportMeasurements (f, MeasurementRange.ALLMEASUREMENTS);

It overwrites every time. How do I make filenumber a variable determined by the number of measurement logs in the current folder?
hero member
Activity: 728
Merit: 500
April 25, 2012, 06:08:33 PM
#2
Bounty up to 5. I discovered photoshop doesn't like automating measurement exports.
hero member
Activity: 728
Merit: 500
April 24, 2012, 07:45:41 PM
#1
closed
Jump to: