Here is the script for the problematic macro, I could
not get it to fully display in the message
itself(although it is quite short...)
Sorry for the bother,
Gabriel
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimitedrequires("1.34m")
var zslices=1;
var phases=1;
var k=1;
var j=1;
dir=getDirectory("image");
title = "Substack";
//width=144; height=256;
Dialog.create("New Image");
Dialog.addString("Stub:", title);
Dialog.addNumber("zslices:", 14);
Dialog.addNumber("Phases:", 6);
//Dialog.addCheckbox("Ramp", true);
Dialog.show();
stub = Dialog.getString();
//width = Dialog.getNumber();
//height = Dialog.getNumber();
zslices = Dialog.getNumber();
phases = Dialog.getNumber();
for (k=1;k<=phases;k++) {
str="";
print("k="+k);
for (j=1; j<zslices; j++) {
str = str + j+(k-1)*zslices+ ",";
}
str = str + k*(zslices); //add last element without a comma at end
print("check3,str="+str);
print("string"+k+"="+str);
run("Substack Maker","slices="+str);
saveAs("tiff", dir+stub+k+".tif");
close();
}