Repeat Action X times
Is a script still required to repeat/play an action X number of times (i.e. cmd+opt+T)? I want to do this 100 times.
Thanks,
Greg
Is a script still required to repeat/play an action X number of times (i.e. cmd+opt+T)? I want to do this 100 times.
Thanks,
Greg
Is a script still required to repeat/play an action X number of times (i.e. cmd+opt+T)? I want to do this 100 times.
Thanks,
Greg
By @BirdforThought
Yes, a script is still required as there is no native feature for this.
Change the name of the action set and action in the code from the default action and set placeholder example.
#target photoshop
// Loop the input prompt until a number is entered
var origInput;
while (isNaN(origInput = prompt("Enter a whole number:", "3")));
// Convert decimal input to integer
var inputToInteger = parseInt(origInput);
function main() {
for (i = 0; i < inputToInteger; i++) // Variable prompt N times
{
app.doAction("Molten Lead", "Default Actions.atn"); // Change the action and action set as required
}
}
app.activeDocument.suspendHistory("Repeat action N times (history suspended)", "main()");
https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.