• 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
Properties of text frame in InDesign CS3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Properties of text frame in InDesign CS3


  • Subject: Properties of text frame in InDesign CS3
  • From: Bert Groeneveld <email@hidden>
  • Date: Wed, 27 Jan 2010 11:59:03 +0100

Can anyone shine a light on the unexpected value of myContent_01?

-- Given a selected text frame on an open InDesign document.

tell application "Adobe InDesign CS3"
set mySelection to item 1 of selection
tell mySelection
set myBounds_01 to geometric bounds -- this returns a list as expected.
set myBounds_02 to geometric bounds of properties -- this returns the same list as expected.
set myContent_01 to contents -- this returns text frame id (same as mySelection), where I would expect a string.
set myContent_02 to contents of properties -- this returns the string as expected.
end tell
end tell

I can live with it though, but taking script execution time into account, I'm afraid asking for the complete list of properties takes more time than asking directly for just one property. Or . . . ?

Bert.
 _______________________________________________
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: Properties of text frame in InDesign CS3
      • From: Rick Gordon <email@hidden>
  • Prev by Date: Re: Scripting the unscriptable
  • Next by Date: Re: Send outgoing message error from Mail.app
  • Previous by thread: Getting Photoshop Ruler Tool Measurements
  • Next by thread: RE: Properties of text frame in InDesign CS3
  • Index(es):
    • Date
    • Thread