Re: Why is this so?
Re: Why is this so?
- Subject: Re: Why is this so?
- From: Michelle Steiner <email@hidden>
- Date: Wed, 24 Jan 2001 17:08:45 -0800
On 1/24/01 4:53 PM, Christopher Nebel <email@hidden> wrote
>
First, there's no precedent for it -- the only the thing in AppleScript
>
that works that way is the "read" command. Second, you're allowed to
>
have two different classes for the beginning and endpoints, and if
>
they're different, there are a lot of cases where it's ambiguous what
>
order the endpoints are really in. For example, consider "word 3 to
>
paragraph 1", where word 3 is inside paragraph 1.
Now, that is interesting.
set sampleText to "now is the time for all good etc."
(words 4 through character 13 of sampleText)
--> {"ti"}
But
(characters 13 through word 4 of sampleText)
--> {"i", "m", "e"}
I'm convinced. :)
It works the same with paragraphs.
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | Hard as it may be to believe, my |
| email@hidden | life has been based on a true story. |
----------------------------------------------------------------------