Copy link to clipboard
Copied
Hello everyone , to start i want to point out that i have no knowledge of scripting just wondering if any of you can help. i am using so far actions but i guess they're so limited even when using conditions.
For my case i want to make a script that i can place a logo design over a phones cases (iphones cases for examples) i was able to make an "action" to place the designs but i have a small problem is that in some of the phones cases there's diffrent holes and different shapes and sizes so the "move and place" won't work in such a case, i want to make a condition at least by jpeg numbers, when it reach the 13 images excute this condition instead, that's the least that i can think off, i have attached an example of many please check it.
thank you in advance for your help !
The following code example presumes that a folder of input files have a hyphen - delimiter with variable case-sensitive text, such as a colour name:
myfile-RED.psd
myfile-GREEN.psd
myfile-BLUE.psd
An action corresponding to the specified matching portion of the filename would then be applied, overwriting the original files.
I have surrounded each condition in comments clearly identifying each code block so that you can easily copy/paste them to create additional conditions.
You will obvi
...Copy link to clipboard
Copied
Here's a related script topic link where the action to be run is determined by the folder name: