All you have to do is Google or Bing it and it will come right up.

Sincerely,
The Constantly Barefooted Ray

Still a happy Mac, Verizon Wireless iPhone 6+ and Apple TV user!

Sent from my Mac,
the only computer with full accessibility for the blind built-in

> On Mar 27, 2015, at 9:11 PM, May <mcdonald....@gmail.com> wrote:
> 
> And what widget is that?
> 
> May and LD Luna Moon!
> www.canadianlynx.ca
> 
>> On Mar 27, 2015, at 9:35 PM, Ray Foret Jr <rforet7...@comcast.net> wrote:
>> 
>> I have a wigit that I can use to give me a word count in Text Edit if I 
>> wanted it to. 
>> 
>> Sincerely,
>> The Constantly Barefooted Ray
>> 
>> Still a happy Mac, Verizon Wireless iPhone 6+ and Apple TV user!
>> 
>> Sent from my Mac,
>> the only computer with full accessibility for the blind built-in
>> 
>>> On Mar 27, 2015, at 7:10 PM, Alex Hall <mehg...@icloud.com> wrote:
>>> 
>>> It's not, but you have a great point. I'll add that to the next version.
>>> 
>>> In the meantime, here's the script. Just copy the below lines, open up 
>>> Script Editor, paste, and save the script in the same place as the other 
>>> Talking Dashboard ones. It's not tested very much--I wrote it in about 
>>> fifteen minutes--but it runs on my machine and doesn't require Yosemite. Be 
>>> warned that, if TextEdit is not running when you run this script, the app 
>>> will launch itself. Anyway, here is the script:
>>> 
>>> (* Keywords:
>>> $wordCount: the number of words in the currently open document in TextEdit
>>> $characterCount: the number of characters in the currently open TextEdit 
>>> document
>>> $name: the name of the currently open document
>>> *)
>>> 
>>> set template to "$wordCount words ($characterCount characters) in $name."
>>> set utilities to import("utilities.scpt")
>>> 
>>> set {wordCount, characterCount, documentName} to {0, 0, ""}
>>> 
>>> tell application "TextEdit"
>>>     set my wordCount to count (words of document 1)
>>>     set my characterCount to count (characters of document 1)
>>>     set my documentName to name of document 1
>>> end tell
>>> 
>>> set keywords to {{"$wordCount", wordCount}, {"$characterCount", 
>>> characterCount}, {"$name", documentName}}
>>> set template to str_replace(keywords, template) of utilities
>>> tell utilities to speak(template)
>>> 
>>> on import(filename)
>>>     set p to (path to me) as text
>>>     set oldDelimiters to text item delimiters of AppleScript
>>>     set AppleScript's text item delimiters to ":"
>>>     set scpt to load script file (((text items 1 through ((length of (text 
>>> items of p)) - 1) of p) & filename) as text)
>>>     set text item delimiters of AppleScript to oldDelimiters
>>>     return scpt
>>> end import
>>> 
>>>> On Mar 27, 2015, at 6:37 PM, Jamie Pauls <jamiepa...@gmail.com> wrote:
>>>> 
>>>> Hello, all,
>>>> 
>>>> I understand that a script exists that will allow one to get a word count 
>>>> for a document using TextEdit. If someone could kindly point me to this 
>>>> script, that would be great. It doesn’t appear to be a part of the Talking 
>>>> Dashboard scripts unless I’mm missing something.
>>>> 
>>>> Thanks.
>>>> 
>>>> Take care and have a great day.
>>>> Jamie Pauls
>>>> jamiepa...@gmail.com
>>>> 
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> You received this message because you are subscribed to the Google Groups 
>>>> "MacVisionaries" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>>> email to macvisionaries+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to macvisionaries@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/macvisionaries.
>>>> For more options, visit https://groups.google.com/d/optout.
>>> 
>>> 
>>> --
>>> Have a great day,
>>> Alex Hall
>>> mehg...@icloud.com
>>> 
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "MacVisionaries" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to macvisionaries+unsubscr...@googlegroups.com.
>>> To post to this group, send email to macvisionaries@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/macvisionaries.
>>> For more options, visit https://groups.google.com/d/optout.
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "MacVisionaries" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to macvisionaries+unsubscr...@googlegroups.com.
>> To post to this group, send email to macvisionaries@googlegroups.com.
>> Visit this group at http://groups.google.com/group/macvisionaries.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to macvisionaries+unsubscr...@googlegroups.com.
> To post to this group, send email to macvisionaries@googlegroups.com.
> Visit this group at http://groups.google.com/group/macvisionaries.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

Reply via email to