Has anybody got a copy of this script or a similar version?
Wanting to run an action based on the filename
siva conditional
- Stephen_A_Marsh
- Posts: 37
- Joined: Sun Aug 04, 2019 12:37 pm
Re: siva conditional
That's pretty easy without Siva's script, without any GUI:
A GUI is easy enough to add either using a simple filename prompt() or even scriptUI. Scripting the GUI selection of the action set and action is obviously harder.
I'll dig up the code on the script that you are asking for as I have it in an archive.
Code: Select all
if (app.activeDocument.name == "Untitled-1") {
app.doAction("Action 1", "Action Set 1");
} else {
//app.doAction("Action 1", "Action Set 2");
}
I'll dig up the code on the script that you are asking for as I have it in an archive.
Last edited by Stephen_A_Marsh on Sat Jul 06, 2024 2:11 am, edited 1 time in total.
- Stephen_A_Marsh
- Posts: 37
- Joined: Sun Aug 04, 2019 12:37 pm
Re: siva conditional
- Attachments
-
- Siva's Photoshop Conditional Action.zip
- (9.07 KiB) Downloaded 186 times