I have modified a function to batch process .vsi. At one point in the function I run add slice:
But doing that opens up a dialogue, asking if I want to do channel and if I want to Prepend. I do want to prepend.
I found that doing the following will skip the dialogue and add a slice to the stack:
run("Add slice", "Add=channel Prepend=1");
However, this line of code doesn’t prepend, so the slices are out of order! Any thoughts?