• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Illustrator 9 & Group Items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Illustrator 9 & Group Items


  • Subject: Re: Illustrator 9 & Group Items
  • From: Shane Stanley <email@hidden>
  • Date: Mon, 16 Jul 2001 08:46:14 +1000

On 16/7/01 1:16 AM +1000, Jason Bourque, email@hidden, wrote:

> I am trying to get the width & height of every page item as a group in
> illustrator 9 and the resize the document to that found width & height.

I'm not sure why you'd try this; you can't change the size of the document,
and it's pretty much irrelevant anyway.
>
> So my current direction for this is to create a new group and move every
> page item into it.
>
>
> Tell app "illustator"
>
> Tell document 1
>
> Make new group item at beginning of layer 1 with properties{name:"Group
> Crop"}
>
> Move every page item to beginning of group item "Group Crop"
>
> Set groupWidth to width of group item "Group Crop"
> Set groupHeight to height of group item "Group Crop"
>
> End tell
> End tell
>
>
>
> This doesn't work.
>
> I am going about this wrong?

"every page item" includes the group you've created; thus, you're trying to
include a group in itself. And the move command seems to prefer groups
referred to by index or reference. Even then, I doubt that it will work;
"every page item" effectively includes items that are part of other groups
more than once.

The geometric or visible bounds of a document should give you the bounds of
the _illustration_, but they seem to insist on returning 0 or a negative
value for the bottom left corner.

--
Shane Stanley, email@hidden


  • Follow-Ups:
    • Re: Illustrator 9 & Group Items
      • From: Jason Bourque <email@hidden>
References: 
 >Illustrator 9 & Group Items (From: Jason Bourque <email@hidden>)

  • Prev by Date: Re: FM insert Picture
  • Next by Date: Re: Illustrator 9 & Group Items
  • Previous by thread: Illustrator 9 & Group Items
  • Next by thread: Re: Illustrator 9 & Group Items
  • Index(es):
    • Date
    • Thread