• 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: Count of paragraphs in a TextEdit document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Count of paragraphs in a TextEdit document


  • Subject: Re: Count of paragraphs in a TextEdit document
  • From: wayne melrose <email@hidden>
  • Date: Mon, 1 Nov 2004 09:17:23 +0100

count every paragraph of document 1
or
count paragraphs of document 1

try that.. failing that.. you could always set the body of text to a variable, then just count paragraphs of the variable..

outside of a textedit tell ..



On Nov 1, 2004, at 9:01 AM, Kumar Shailove wrote:

<x-tad-bigger>I am writing following script to count number of paragraphs in a “TextEdit” document, but it doesn’t work.</x-tad-bigger>

<x-tad-bigger>  </x-tad-bigger>

<x-tad-bigger>tell application “TextEdit”</x-tad-bigger>

<x-tad-bigger>count each paragraph of document 1</x-tad-bigger>

<x-tad-bigger>end tell</x-tad-bigger>

 

please correct me if I am writing it wrong.
_______________________________________________
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
 _______________________________________________
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

  • Follow-Ups:
    • Re: Count of paragraphs in a TextEdit document
      • From: Jean-Baptiste LE STANG <email@hidden>
References: 
 >Count of paragraphs in a TextEdit document (From: Kumar Shailove <email@hidden>)

  • Prev by Date: Count of paragraphs in a TextEdit document
  • Next by Date: Re: Count of paragraphs in a TextEdit document
  • Previous by thread: Count of paragraphs in a TextEdit document
  • Next by thread: Re: Count of paragraphs in a TextEdit document
  • Index(es):
    • Date
    • Thread