Bitcoin Forum

Economy => Services => Topic started by: bb113 on April 25, 2012, 12:45:41 AM



Title: [closed]
Post by: bb113 on April 25, 2012, 12:45:41 AM
closed


Title: Re: 5 btc bounty (or negotiable) for help with photoshop scripting
Post by: bb113 on April 25, 2012, 11:08:33 PM
Bounty up to 5. I discovered photoshop doesn't like automating measurement exports.


Title: Re: 0.5 btc bounty for help with photoshop scripting
Post by: bb113 on April 26, 2012, 01:13:21 PM
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?


Title: Re: [closed]
Post by: bb113 on April 26, 2012, 05:13:08 PM
Figured it out.