• 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: Indesign CS4 question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indesign CS4 question


  • Subject: Re: Indesign CS4 question
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 18 Aug 2009 08:57:15 +1000
  • Thread-topic: Indesign CS4 question

On 18/8/09 7:14 AM, "Stan Cleveland" <email@hidden> wrote:

> In fact, what Ed suggests is the only way to control the absolute position
> an image.

You can also use the move command to move just the image, as the OP wants:

tell application "Adobe InDesign CS4"
    tell document 1
        move image 1 of rectangle 1 by {100, 0}
    end tell
end tell

> So if you reposition the rectangle, you must separately reposition the image.

It would probably be better to say that if you change the bounds of one, it
is independent of the other. But if you reposition a rectangle using the
move command, like this:

tell application "Adobe InDesign CS4"
    tell document 1
        move rectangle 1 by {100, 0}
    end tell
end tell

the image goes along for the ride.


--
Shane Stanley <email@hidden>
AppleScript Pro Sessions <http://scriptingmatters.com/aspro>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Indesign CS4 question
      • From: Stan Cleveland <email@hidden>
References: 
 >Re: Indesign CS4 question (From: Stan Cleveland <email@hidden>)

  • Prev by Date: Re: Indesign CS4 question
  • Next by Date: Re: Indesign CS4 question
  • Previous by thread: Re: Indesign CS4 question
  • Next by thread: Re: Indesign CS4 question
  • Index(es):
    • Date
    • Thread