• 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: Marquee selecting InDesign CS5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Marquee selecting InDesign CS5


  • Subject: Re: Marquee selecting InDesign CS5
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 14 Feb 2012 22:24:42 +1100

On 14/02/2012, at 9:10 PM, email@hidden wrote:

Did you get a response on your question, since I am also interested in the outcome.

He did -- I posted this:

set {y1, x1, y2, x2} to {100, 100, 400, 400} -- area for selection
tell application "Adobe InDesign CS5"
tell page 1 of document 1
select (every page item where ¬
((item 1 of its geometric bounds < y2 and item 1 of its geometric bounds > y1) ¬
or (item 3 of its geometric bounds > y1 and item 3 of its geometric bounds < y2)) ¬
and ¬
((item 2 of its geometric bounds < x2 and item 2 of its geometric bounds > x1) ¬
or (item 4 of its geometric bounds > x1 and item 4 of its geometric bounds < x2)) ¬
)
end tell
end tell

-- 
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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: Marquee selecting InDesign CS5
      • From: "Houston, Brad" <email@hidden>
References: 
 >RE: Marquee selecting InDesign CS5 (From: email@hidden)

  • Prev by Date: RE: Marquee selecting InDesign CS5
  • Next by Date: Re: Marquee selecting InDesign CS5
  • Previous by thread: RE: Marquee selecting InDesign CS5
  • Next by thread: Re: Marquee selecting InDesign CS5
  • Index(es):
    • Date
    • Thread