Re: trouble with script

2011-11-19 Thread Esther
Hi Ray, The key to whether the Script works is doing the Command-R compile from the AppleScript Editor. If the AppleScript works (even if it announces 0 words and 0 characters because you don't have a TextEdit window open), then the problem is with your file saving process -- probably with the

Re: trouble with script

2011-11-19 Thread Ray Foret Jr
Now that is strange. I tried to save it in to the default Scripts folder which I believe was off the Library folder off the Macintosh directlry. I'll take another look. thanks. Sincerely, The Constantly Barefooted Ray!!! Now a very proud and happy Mac user!!! Skype name: barefootedray Fac

Re: trouble with script

2011-11-19 Thread Esther
Hi Ray, I think you may have tried to save the script to a non-existent folder. When I read your earlier post, you stated your save location was "Macintosh/Library/Scripts" (without the quotation marks) so if you used the Command-Shift-G "Go to folder" shortcut to specify the folder location t

Re: trouble with script

2011-11-19 Thread Ray Foret Jr
What stars? somehow, it's jus not working for me. Could it be the way the code is written; or, perhaps, the way it's coppied and pasted? I'm just not getting anywhere with this blasted thing!!! Here's the code. >>> tell document 1 of application "TextEdit" >>> set wordcount to the (cou

Re: trouble with script

2011-11-19 Thread Matt Dierckens
That's weird. Mine workedjust fine. Get rid of the stars at the begining at the script and you should be all set. Matt Sent from my macbook pro On 2011-11-19, at 6:43 PM, Ray Foret Jr wrote: > Hi, > > I tried to send this yesterday but got no response what so ever. > > Hi, > > I'm trying to w

trouble with script

2011-11-19 Thread Ray Foret Jr
Hi, I tried to send this yesterday but got no response what so ever. Hi, I'm trying to work with the following code: > tell document 1 of application "TextEdit" > set wordcount to the (count of words) as text > set charactercount to the (count of characters) as text > end tell > say