Archive of UserLand's first discussion group, started October 5, 1998.

Re: Spellchecker for Frontier WP-texts?

Author:Dave Polaschek
Posted:9/16/1999; 9:59:35 AM
Topic:Spellchecker for Frontier WP-texts?
Msg #:11138 (In response to 11058)
Prev/Next:11136 / 11139

Thanks for the links! I've grabbed Exclaibur, and it does everything I need. The problem now is that Frontier doesn't do everything I need (but I should be able to write what I need).

Before I reinvent the wheel, has anyone else implemented a Word Services Client Suite in Frontier? According to the docs:

To support the protocol, the word processor must support a small subset of the Core suite, particularly the Get Data and Set Data events, the formRange key form, and the formAbsolutePosition key form, including positions relative to the end of the container.

Frontier doesn't support these events, so it's not a trivial task.

The other approaches would be to:

  1. Loop through every word in a Frontier WP-Text and call Excalibur for each word, but I'm having problems getting back the list of suggested spellings for misspelled words. I can get the list in Script Editor, but when I try it with an AppleScript within Frontier (5.0.1), I get an empty list back. Frustrating.
  2. Cut the text to the clipboard, hand the clipboard to Excalibur, correct that within Excalibur, and then paste the corrected text back into Frontier. My problem here is that I can't seem to find a good way to make Frontier wait for an unspecified amount of time that's going to be spent in Excalibur (Excalibur doesn't have a "correct the clipboard" event, you just tell it to do that on startup and launch the application. Guess I could loop while watching isRunning(), but that requires the user to quit Excalibur after making the changes)

Thanks for any thoughts.


This page was archived on 6/13/2001; 4:52:40 PM.

© Copyright 1998-2001 UserLand Software, Inc.