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

Re: finding paragraph count


  • Subject: Re: finding paragraph count
  • From: "Gary (Lists)" <email@hidden>
  • Date: Fri, 18 Aug 2006 12:30:06 -0400

"Bob Cuilla" wrote:

> I have a body of test in a Mail message.  I would like AS to tell me the
> number of paragraphs in this text content.  can this be done?
>
> Thanks
>
> Bob


Try "paragraphs of".


set myTextBlob to "some long text with paragraphs, not like this sample"
set paragraphCount to paragraphs of myTextBlob


--
Gary

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >finding paragraph count (From: Bob Cuilla <email@hidden>)

  • Prev by Date: Re: Image Events
  • Next by Date: Re: finding paragraph count
  • Previous by thread: finding paragraph count
  • Next by thread: Re: finding paragraph count
  • Index(es):
    • Date
    • Thread