• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Grammar and spelling checker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grammar and spelling checker


  • Subject: Re: Grammar and spelling checker
  • From: Paul Berkowitz <email@hidden>
  • Date: Wed, 07 Nov 2007 16:15:55 -0800
  • Thread-topic: Grammar and spelling checker

Title: Re: Grammar and spelling checker
If you have Microsoft Word, you could always do the grammar checking there by script.

--
Paul Berkowitz



From: Peter Baxter <email@hidden>
Date: Thu, 8 Nov 2007 08:49:52 +1100
To: Peter Baxter <email@hidden>
Cc: Apple Script <email@hidden>
Subject: Re: Grammar and spelling checker

To give a better idea of what I'm up to this is part of the script so far:
The problem is that I am pretty sure that the Grammar and spelling checking does not appear in the dictionary for Text Edit even though is is available.  I hope this does not mean that I will be stuck with GUI scripting!

set theText to the clipboard
try
set
_TempFile to ((path to desktop) & "temp.txt") as text

try
close access file _TempFile -- Make sure the file wasn't accidentally left open
on error
display dialog "Temp is open"
tell application "TextEdit" to quit
delay
0.5
end try

open for access file _TempFile with write permission
set eof file _TempFile to 0 -- clear the file contents
write theText to file _TempFile starting at eof
close access file _TempFile

end try
tell
application "TextEdit"
open file _TempFile
(*check grammar text object of active document  -->  Here's where it all falls apart as the song says*)
end tell
end

mail:  email@hidden

The aim and final end of all music should be none other than the glory of God and the refreshment of the soul.
--
Johann Sebastian Bach




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

 
Peter Baxter

Director of Music

Ararat Community College

Barkly St West

Ararat

Victoria

3377

Ph: 0353524177



email:  email@hidden

"If a child hears good music from the day of birth, the child develops sensitivity, discipline and endurance as well as a beautiful heart."
--
Shinichi Suzuki, music teacher





_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

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:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Grammar and spelling checker (From: Peter Baxter <email@hidden>)

  • Prev by Date: Re: I'm turning Japanese, I thinking I'm turning Japanese using TypeIt4Me...
  • Next by Date: Re: Scripting Display Arrangement?
  • Previous by thread: Re: Grammar and spelling checker
  • Next by thread: Re: can't delete custom dates in Address Book
  • Index(es):
    • Date
    • Thread