• 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: Calculating paragraph numbers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calculating paragraph numbers


  • Subject: Re: Calculating paragraph numbers
  • From: Peter Jaros <email@hidden>
  • Date: Thu, 29 Jan 2004 21:18:18 -0500

On Jan 29, 2004, at 8:09 AM, Nebagakid wrote:

Well, if you implemented some AppleScript, you could do something like this, but I do not think this is what you want:

tell app "myAPP"
set thisVariable to the count of paragraphs in the content of text field "thisTextField"
^^^^^^^^^^
One is forced to wonder: how is this implemented? Why doesn't *it* take more time the longer the text. Unless it does, in which case it's no help at all...

Peter

(BTW, I've been replying to most things off-list by accident. Mail.app seems to always put the From: address in the To: of replies to cocoa-dev. This doesn't happen on other mailing lists. Anyone else have this problem?)

-- ---<>--- --
A house without walls cannot fall.
Help build the world's largest encyclopedia at Wikipedia.org
-- ---<>--- --
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Calculating paragraph numbers (From: Nebagakid <email@hidden>)

  • Prev by Date: Re: Problem with CircleView Example and NSLayoutManager angles...
  • Next by Date: PrefPanes in applications
  • Previous by thread: Re: Calculating paragraph numbers
  • Next by thread: Re: WWDC 2003 TV DVDs
  • Index(es):
    • Date
    • Thread