Article View: adobe.scripting.indesign
Article #2160Move unassigned item to an assignment
From: Zixxer
Date: Fri, 09 Jan 2009 14:54
Date: Fri, 09 Jan 2009 14:54
13 lines
1230 bytes
1230 bytes
Hey,
I'm new to scripting for InDesign and InCopy, and I'm stuck now with a problem. I want to add textframes or rectangles to a (new) assignment with javascript. I found out how to create an assignment, and how to make a incx document, however it comes in unassigned incopy items, and I can't find a way to place it into my new assignment.
To create an assignment I use:
var myAssignment = jobDoc.assignments.add(aName);
And to create an incx file I use:
aTextframe.exportFile(ExportFormat.INCOPY_DOCUMENT, File("/test.incx"));
Both work, but now I need a way to place the incx into myAssignment. How can this be done?
Thanks allot!
Technical Details
Message-ID:
<59b77855.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!goblin1!goblin2!goblin.stu.neva.ru!news4us.nl!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,3403d107761d2a83,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Zixxer@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Move unassigned item to an assignment Message-ID: <59b77855.-1@webcrossing.la2eafNXanI> Date: Fri, 9 Jan 2009 06:54:46 -0800 Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!goblin1!goblin2!goblin.stu.neva.ru!news4us.nl!webcrossing