Bitcoin Forum
February 19, 2017, 06:49:12 PM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [closed]  (Read 602 times)
bb113
Hero Member
*****
Offline Offline

Activity: 728


View Profile
April 25, 2012, 12:45:41 AM
 #1

closed
1487530152
Hero Member
*
Offline Offline

Posts: 1487530152

View Profile Personal Message (Offline)

Ignore
1487530152
Reply with quote  #2

1487530152
Report to moderator
1487530152
Hero Member
*
Offline Offline

Posts: 1487530152

View Profile Personal Message (Offline)

Ignore
1487530152
Reply with quote  #2

1487530152
Report to moderator
1487530152
Hero Member
*
Offline Offline

Posts: 1487530152

View Profile Personal Message (Offline)

Ignore
1487530152
Reply with quote  #2

1487530152
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1487530152
Hero Member
*
Offline Offline

Posts: 1487530152

View Profile Personal Message (Offline)

Ignore
1487530152
Reply with quote  #2

1487530152
Report to moderator
1487530152
Hero Member
*
Offline Offline

Posts: 1487530152

View Profile Personal Message (Offline)

Ignore
1487530152
Reply with quote  #2

1487530152
Report to moderator
1487530152
Hero Member
*
Offline Offline

Posts: 1487530152

View Profile Personal Message (Offline)

Ignore
1487530152
Reply with quote  #2

1487530152
Report to moderator
bb113
Hero Member
*****
Offline Offline

Activity: 728


View Profile
April 25, 2012, 11:08:33 PM
 #2

Bounty up to 5. I discovered photoshop doesn't like automating measurement exports.
bb113
Hero Member
*****
Offline Offline

Activity: 728


View Profile
April 26, 2012, 01:13:21 PM
 #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?
bb113
Hero Member
*****
Offline Offline

Activity: 728


View Profile
April 26, 2012, 05:13:08 PM
 #4

Figured it out.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!