Question
app.copy(); app.paste(); doesn't work perfectly.
What could be causing app.copy(); app.paste(); to not work perfectly in the script below?
The R-letter is missing when copying and pasting.
It works fine when I copy and paste in the app and not in the script.
The R-letter is missing when copying and pasting.
It works fine when I copy and paste in the app and not in the script.
function load(url) {
var loadFile;
loadFile = new File(url);
doc = app.open(loadFile);
doc.rulerOrigin = [0, 0];
}
load("C:/podContents/illustrator_error/tshirt0.ai");
var layer = doc.layers[0];
var gItem = layer.groupItems[0];
doc.selection = gItem;
app.copy();
app.paste();

