Copy link to clipboard
Copied
Dear scripting experts,
i'm a bloody beginner in scripting for photoshop and I desprately need your help.
my task is:
- load four TIF-Pictures from each sub-sub-folder into stack
- align them
- create a brake or something to manually crop the document
- export the aligned and croped layers into files in new Output folders named like the Input folders
- the structure should also be like the Input Folder tree, see below
I hope somebody can help 🙂 Thank you very much!
Some time ago I wrote a batch processing script for myself. Among other functions, it has one specifically for this case - the ability to simultaneously open all files located in a subdirectory:
In short:
Copy link to clipboard
Copied
So in your example you have 5 files in the subfolder, but 4 selected. How to you determine which 4 files to select?
Copy link to clipboard
Copied
its always 4 tif. and one jpg.
it should ignore the jpg. file and just take tif files
Copy link to clipboard
Copied
Oh, yea, my eyes are a bit blurry, this morning.
Copy link to clipboard
Copied
Some time ago I wrote a batch processing script for myself. Among other functions, it has one specifically for this case - the ability to simultaneously open all files located in a subdirectory:
In short:
Since my script is a typical batch processor, it is mean that the action will be repeated for EVERY open file (and this will lead to an error, since the action we wrote only needs to be executed 1 time for 4 files), but we can trick it:
Run my script, set it up as in the video (select TIF files from the list of extensions, indicate that you need to open all files at once grouped by subdirectories, specify our additional action with a condition (which will launch the main action only once for all files), set up saving parameters without forgetting to specify the path to the new directory and setting the option to save the file structure) and run.
If you did everything correctly, then a copy of the original directory with all subdirectories will be created, containing the processed files.