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

Re: Unwinding the containment hierarchy of a reference


  • Subject: Re: Unwinding the containment hierarchy of a reference
  • From: Paul Berkowitz <email@hidden>
  • Date: Wed, 08 Dec 2004 09:05:01 -0800

On 12/7/04 11:41 PM, "Paul Berkowitz" <email@hidden> wrote:

>  Doing a 'run script' on the whole script just puts
> you back where you started. Otherwise you'd have to know to use 'of' the
> separate the objects. That might actually work, since even using alternate
> syntax:
>
> tell application "TextEdit"
>     set objRef to a reference to word 12 of document 2
> end tell
>
>
> still produces the very same refStr:
> --> "word 12 of document 2 of application \"TextEdit\""
>
> evidently the canonical syntax.

Sorry. That made no sense. What I meant to say was:


tell application "TextEdit"
    set objRef to a reference to document 2's word 12
end tell


still produces the very same refStr:
--> "word 12 of document 2 of application \"TextEdit\""

so extracting text items with " of " as delimiter still works even when you
start out from 's-type syntax.

--
Paul Berkowitz


 _______________________________________________
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

References: 
 >Re: Unwinding the containment hierarchy of a reference (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: set visible of every application process
  • Next by Date: Scripting Wireless Connectivity
  • Previous by thread: Re: Unwinding the containment hierarchy of a reference
  • Next by thread: Re: Unwinding the containment hierarchy of a reference
  • Index(es):
    • Date
    • Thread