Bugfix released 1 Apr 2007
NextImage2 is a quasi batching tool. What it does is open the 'next' image, or images, from the previously opened image - sometimes this will cover situations that ordinary batching will not deal with eg.:
- where you are adding images to a folder over time and want to run a script or action on the new images as they come through.
- where you want to do a combination of manual adjustments and run actions / scripts on an image - thereby facing the problem of not being able to include a 'stop' within a batch script.
'Next' is defined as an image with a name that follows on numerically from the rightmost numbers in the name (eg IMG1001a.tif, IMG1002a.tif). If the next number is missing, it looks for the one after up to a limit of 100 more.
The script will also search for images in the 'next' numerical folder. So, if your top level folder is D100, if no image is found there the same image name will be searched for in D101.
So, if test100b.jpg was the previous image, it will look for test101b.jpg, if that does not exist it will look for test102b.jpg... right up to test201b.jpg.
The number of actual images to open can be set (1 image, 2 images, 3 etc or even 'all' images).
Usage:
1. Define settings with ah-nextimage2R.js
2. Open each 'next image' with ah-nextimage2.js
If you want to open images by date rather than number use the date versions: set with ah-nextimage2DR.js then run with ah-nextimage2D.js
The 'R' scripts eg ah-nextimage2R.js are run when you want to define run parameters and identify the starting file:
Use Last Image (tick) or Open Image (untick): The Last Image definition from which the Next Image is derived.
- Last Image means the last image the script opened, regardless of whether it is still open or not.
- Open Image means the topmost open image.
Max Missing Image Number Jumps: if an image in the numerical squence is missing, how many skips to try before giving up, eg 11.jpg is 10 skips beyond 1.jpg.
Define Start Image as Current Open Document: this is how you define your Starting Image - it should be the image that you actually want open for the next run. Have it open in Photoshop first before you run the settings script
Of course sometimes you just want to change run settings but do not need to change the Start Image Definition - no problem, don't tick the box.
If there are any problems, or further requests, please tell me here.
There is a companion version that defines 'next' on the basis of file creation date or last modified date (thereby letting you work with files that are not named numerically, or for which the numerical content is not sequential).
Installation: drop all the files (but not the containing folder) into your Photoshop/Presets/Scripts folder.
Andrew
