• 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
AppleScript / INDD CS3 / importing images and offsetting within frame.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AppleScript / INDD CS3 / importing images and offsetting within frame.


  • Subject: AppleScript / INDD CS3 / importing images and offsetting within frame.
  • From: Kevin Muldoon <email@hidden>
  • Date: Thu, 16 Oct 2008 11:41:12 -0400

Need a hand here,

Importing images into an InDesign document and need to move the image within the frame. Need something like "set offset of framedImage to {-1.0,1.0}. Code snippet appreciated. The AppleScript API of InDesign is very strange compared to Quark. Thanks!


set imageFrame to make rectangle at page pg with properties {geometric bounds:(obj's frameBounds), stroke color:swatch id swatchIDnone, fill color:swatch id swatchIDwhite, item layer:obj's layerID, label:"script label name"}
set framedImage to place (obj's filePath) on imageFrame with properties {absolute horizontal scale:(obj's scaleFactor), absolute vertical scale:(obj's scaleFactor)}

-- 
Kevin Muldoon, Owner
TrueBlueDot - Fine Art Printing
New Haven, CT 06511
email@hidden
www.truebluedot.com
"Our pigment meets your imagination"



 _______________________________________________
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: AppleScript / INDD CS3 / importing images and offsetting within frame.
      • From: Stan Cleveland <email@hidden>
  • Prev by Date: Re: Bad Characters
  • Next by Date: Re: Bad Characters
  • Previous by thread: Re: Bad Characters in a File Name
  • Next by thread: Re: AppleScript / INDD CS3 / importing images and offsetting within frame.
  • Index(es):
    • Date
    • Thread