• 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: TE+ question [WAS Re: FMP question -- for Shane Stanley?]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TE+ question [WAS Re: FMP question -- for Shane Stanley?]


  • Subject: Re: TE+ question [WAS Re: FMP question -- for Shane Stanley?]
  • From: Allen Watson <email@hidden>
  • Date: Tue, 31 Oct 2000 16:48:21 -0700

I believe offset gives the offset of the current location of the insertion
pointer. Therefore:

search window 1 looking for "Subject"
get offset of selection

I'm not sure that's the best or only way, but it works.
--
Peace be with you!
Allen <email@hidden> XNS Name: =Allen Watson
My web page: <http://home.earthlink.net/~allenwatson/>

> From: Paul Berkowitz <email@hidden>
> Date: Tue, 31 Oct 2000 08:36:41 -0800
> To: Applescript-Users <email@hidden>
> Subject: TE+ question [WAS Re: FMP question -- for Shane Stanley?]
>
> On 10/31/00 8:27 AM, I wrote:
>
>> When I say:
>>
>> get offset of "CAT4" in "1 CAT4"
>>
>> or
>> get offset of "c" in "abc"
>>
>> it says "Can't get offset of "c" in "abc". Access not allowed."
>>
>> Does anyone know what the correct syntax is?
>
> More to the point:
>
> When I say
>
> get offset of "CAT4" in document 1
>
> it also errors. According to TE+'s dictionary,
>
> offset integer [r/o] -- the offset from the beginning of the document,
> in characters
>
> so I'm not sure what's wrong here. Does anyone?
>
>
> --
> Paul Berkowitz
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users


References: 
 >TE+ question [WAS Re: FMP question -- for Shane Stanley?] (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: FMP question -- for Shane Stanley?
  • Next by Date: appleCD audio player playlists
  • Previous by thread: TE+ question [WAS Re: FMP question -- for Shane Stanley?]
  • Next by thread: Re: FMP question -- for Shane Stanley?
  • Index(es):
    • Date
    • Thread