Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Useful Applescript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Useful Applescript
Authored by: bonkydooky on Jan 31, '05 10:17:05AM

Interesting...I just wrote this Applescript last week (I keep it in my Scripts menu). It might come in handy for someone who doesn't want the full functionality of WordService. I suppose it could count spaces if modified to use Applescript's text delimiters.

set myclip to the clipboard as string
set the reportnum to the count of words in myclip
display dialog "The clipboard contains " & reportnum & " words."



[ Reply to This | # ]