Did you try setting the Application.userInteractionLevel to DONTDISPLAYALERTS at the start of your script and set it back at the end?
Like this ? :
var originalInteractionLevel = app.userInteractionLevel;
app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
app.userInteractionLevel = originalInteractionLevel;
^ this is not working
and is your variable… savepath a valid File Object…? Have you tried passing options settings…?
yes, i tried that. can it be a CC problem ?
Im sorry but the only way you can determine that is to distribute and see for yourself… Nobody from Adobe posts here…
Im NOT a CC user so I can't help you further… Everything suggested here should work…!!
you're trying to save to a Server folder, right?
show us how you're constructing savepath
for(var i = 0; i < parentFolder.length ; i++)
// get design name
var nameF = new String(parentFolder[i]);
var nameD= nameF.slice(-4);
var source = new File(parentFolder[i]+"/"+nameD+".ai");
var save_oznamko_A6 = new File(parentFolder+"/"+nameD+"_oznamko_A6.ai");
you didn't post where you're getting your source folder from...if you're using open dialog and you're in Lion OS, check post # 8 in this thread for a possible solution