does "mail" count characters?

I email a text to cell phones and they have a limit on characters. I know this is a Safari forum but there isn't a Mail forum. I wanted to know if mail can let you know how many characters you have used as you type? Also what about iTouch? Can that count the characters?

Mac Pro 2.66 Quad, Mac OS X (10.6.2)

Posted on Dec 24, 2009 8:44 AM

Reply
5 replies

Dec 24, 2009 9:53 AM in response to Lawrencedc

Mail doesn't count characters but you can make a service that does it using automator.
start automator. it will give you a pulldown screen. choose to make a service on that screen. make it accept text and be available in Mail.
the workflow itself should consist of the following single "run applescript" action

<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #ADD8E6;
overflow: auto;"
title="this text can be pasted into the Script Editor">
on run {input, parameters}
set cn to count text items of (input as text)
display dialog "There are " & cn & " characters selected"
end run</pre>
save the service. call it something like "count-characters". then highlight the text you want to count in a message, control-click and select your service. it will display dialog counting the number of characters selected.

Dec 24, 2009 12:55 PM in response to V.K.

V.K. thanks but it didn't work. I must have done something wrong.. Is this correct:

on run {input, parameters}
(set cn to count text items of (input as text)
display dialog "There are "& cn & " characters selected"

return input
end run

I did write something in the mail and highlighted it and right clicked and saw my "Count-Characters" yet it said it encountered an error. Any ideas?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

does "mail" count characters?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.