I would like to convert an embedded image to a mosaic through a script since I need to iterate it a few hundred times. I've tried using app.executeMenuCommand("Live PSAdapter_plugin_MscT");
but this prompts a dialog, making automation impossible. I've also tried using app.doScript("toMosaic", "myActions", false);
but for some reason this seems to loop until stack overflow (this seems to be the case for any actions too).
I tired this:
doc.placedItems[0].embed();
app.executeMenuCommand("Live PSAdapter_plugin_MscT");
and also this (a working action in illustrator):
doc.placedItems[0].selected = true;
app.doScript ("toMosaic", "myActions", false);
Thanks a bunch