• 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: Capitilization and OSX dictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Capitilization and OSX dictionary
      • From: Timothy Bates <email@hidden>
    • Running a stay open applet in OS X... :-(
      • From: Mr Tea <email@hidden>
  • Prev by Date: Re: Apple: Please deal with basics
  • Next by Date: Re: Apple: Please deal with basics
  • Previous by thread: Re: Capitilization and OSX dictionary
  • Next by thread: Running a stay open applet in OS X... :-(
  • Index(es):
    • Date
    • Thread