🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1003

Placing snippets?

#1003
From: Peter Davis
Date: Thu, 19 Feb 2009 14:47
15 lines
1581 bytes
I've been able to use scripts to place InCopy snippets (ICML), but I'm
still trying to find ways to place PageItem and XML snippets (IDMS)
into XML elements.  The place() function doesn't seem to do anything
at all in most cases:

    myElement.xmlContent.place(File(snippet));

does not work.  (Neither, by the way, does the more obvious:

    myElement.setContent(File(snippet));

Any clues?

Thanks,
-pd
Technical Details
Message-ID: <e16d9133-2a4f-42c8-b722-4d9693a47ee7@m40g2000yqh.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!m40g2000yqh.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,bd5e3a61e9ecc048,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!m40g2000yqh.googlegroups.com!not-for-mail
From: Peter  Davis <pfdavis@gmail.com>
Newsgroups: adobe.scripting.indesign
Subject: Placing snippets?
Date: Thu, 19 Feb 2009 06:47:35 -0800 (PST)
Organization: http://groups.google.com
Lines: 15
Message-ID: <e16d9133-2a4f-42c8-b722-4d9693a47ee7@m40g2000yqh.googlegroups.com>
NNTP-Posting-Host: 66.150.206.225
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1235054855 10874 127.0.0.1 (19 Feb 2009 14:47:35 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 19 Feb 2009 14:47:35 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: m40g2000yqh.googlegroups.com; posting-host=66.150.206.225; 
 posting-account=G2l8pgoAAABQYixzPXgqN3qQugbP4n5s
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; 
 rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6,gzip(gfe),gzip(gfe)