Re: Capitilization and OSX dictionary
Re: Capitilization and OSX dictionary
- Subject: Re: Capitilization and OSX dictionary
- From: has <email@hidden>
- Date: Sun, 21 Apr 2002 15:59:29 +0100
Arthur J Knapp wrote:
>
> <squelch> AppleScript can handle >5000 items in a list just fine. It just
>
> can't _create_ lists of >4000 items without barfing; to build big lists you
>
> have to create several smaller lists and then concatenate them.
>
>
Or use vector appending: set myList's end to v
Yeah, good reminder.
>
There are not many scripters who take full advantage of
>
the "text (boundry 1) thru (boundry 2)" syntax. :)
Nigel Garvey mentioned this technique here a few weeks' back. My only real
talent is having a good memory for such posts.;)
>
Secondly, I was absolutely AMAZED to discover that the following works:
>
>
thePara's text some word thru some word
This occurred to me late last night, but darn if you ain't just beaten me
to it.;)
>
on GetPhrase(s)
>
try
>
return s's some paragraph's text some word thru some word
>
on error number -1728
>
return GetPhrase(s)
>
end try
>
end GetPhrase
Verrry slick. (I'm deducting a half-mark for use of meaningless
single-letter variable names; otherwise, a perfect A grade.:)
Cheers,
has
--
http://www.barple.connectfree.co.uk/ -- The Little Page of Beta AppleScripts
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.