Copy link to clipboard
Copied
app.doProgress("Please wait","DD()")
function DD(){
for(var i=0;i<100;i++){
// =======================================================
var idCpTL = charIDToTypeID( "CpTL" );
executeAction( idCpTL, undefined, DialogModes.NO );
}
}
////////////////////////// What was wrong ???
Copy link to clipboard
Copied
I do not use this function because it does not exist in CS6, but try this
app.doProgress("Please wait","DD()")
function DD()
{
for(var i=0;i<100;i++)
{
var idCpTL = charIDToTypeID( "CpTL" );
executeAction( idCpTL, undefined, DialogModes.NO );
app.updateProgress(i, 100);
}
}
Copy link to clipboard
Copied

OK!!!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now