🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #14792

Re: storing multiple selections as one asset in library (AS)

#14792
From: Olav_Kvern
Date: Fri, 16 Jan 2004 21:26
27 lines
1267 bytes
steve--

Ah, I see. You might try telling your management how much time this would save you...?<g>

If that doesn't work, I think the thing to do is to:

1. Group the items.

2. Get the geometric bounds of the group.

3. Store the geometric bounds as a string in the label of the group.

4. Add the group to a library.

When your script places the library asset into the new document, you can:

1. Retrieve the bounds from the group's label.

2. Set the group's bounds to the stored bounds.

3. Ungroup the objects.

Does that make sense?

Thanks,

Ole
Technical Details
Message-ID: <2ccf657e.9@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccf657e.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,dc5f7c478108207d
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-16 13:37:55 PST
From: Olav_Kvern@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: storing multiple selections as one asset in library (AS)
Message-ID: <2ccf657e.9@webx.la2eafNXanI>
Date: Fri, 16 Jan 2004 13:26:01 -0800
References: <2ccf657e.-1@webx.la2eafNXanI>
Lines: 29
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit