Re: Count of paragraphs in a TextEdit document
Re: Count of paragraphs in a TextEdit document
- Subject: Re: Count of paragraphs in a TextEdit document
- From: Jean-Baptiste LE STANG <email@hidden>
- Date: Mon, 1 Nov 2004 10:33:57 +0100
You must force the object resolution using a 'get' : count ( get paragraphs of document 1)
++ JB
Le 1 nov. 04, à 09:17, wayne melrose a écrit :
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
_______________________________________________
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