• 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
Unwinding the containment hierarchy of a reference
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unwinding the containment hierarchy of a reference


  • Subject: Unwinding the containment hierarchy of a reference
  • From: "Scott Babcock" <email@hidden>
  • Date: Tue, 7 Dec 2004 12:44:12 -0800
  • Thread-topic: Unwinding the containment hierarchy of a reference

Given an arbitrary AppleScript object reference, is there a reasonable
way to determine the object's containment hierarchy? For example:

tell application "TextEdit"
    set x to a reference to word 12 of document 2
end tell

Is there a programmatic way to determine that word 12 is contained by
document 2, which is contained by application "TextEdit"?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Unwinding the containment hierarchy of a reference
      • From: Christopher Nebel <email@hidden>
    • Re: Unwinding the containment hierarchy of a reference
      • From: Paul Berkowitz <email@hidden>
    • Re: Unwinding the containment hierarchy of a reference
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: [OT] Re: Smile and FruitMenu
  • Next by Date: Re: [OT] Re: Smile and FruitMenu
  • Previous by thread: Re: error code 2 when renaming file
  • Next by thread: Re: Unwinding the containment hierarchy of a reference
  • Index(es):
    • Date
    • Thread