This follows on from previous thread but thought it should get it's own thread. Previous thread:
Script to edit actual text in type layer with number generation?
christoph pfaffenbichler, "Script to edit actual text in type layer with number generation?" #3, 24 ...
That JS code would make a great basis for this script
Wondering how hard it would be to make a script that creates an image by concatenating a series of images into a horizontal strip. I'm new to JS so it's a bit of a leap for me on my own. Algorithm might be something like this:
start with base image file "numbers" with a text layer on top text layer has contents "01",
image size is160px x 90px;
make a new file "filmstrip " same size as "numbers"
paste "numbers" in as pixels only (flattened/merged)
loop for n instances;
enlarge "filmstrip" canvas width by image width + spacer width
(image anchored on the RHS, image is same height)
make text number in "numbers" ++
copy "numbers"
paste into "filmstrip" on LHS as pixels (flattened/merged)
end loop
Just writing that tells me I don't know enough JS to do this!