Data Detectors for Frontier
Updated: 8/5/98
I have been recently playing with Apple's Data Detector technology and getting it to work with Frontier. This is work in progress and definitely has rough edges. But a number of folks expressed interest in it so...
To start with, I am assuming that you already have Apple Data Detectors and know something about how they work. If not, then you probably shouldn't go any farther. You can find out more about Apple Data Detectors at http://applescript.apple.com/data_detectors/index.html
The Frontier Detector package contains one detector file, three AppleScripts, and one UserTalk script. Use the Apple Data Detector control panel to install the detector and the AppleScripts. You can install the UserTalk script by double clicking on it. The script installs in your workspace subtable.
The Detectors will find will find Frontier addresses and scripts in text. With the text, you can call the action scripts, one will let you jump to the address, another will open the appropriate docServer page, and the third will run a script and put the result in the clipboard.
Both the detectors and the action scripts need work. The detectors are too general and may grab things that are not ODB addresses (server names are an example). The action scripts basically just take the detected text and use it to build a do script command (ie do script "execute(clock.now())" ). These scripts need better string handling, so you can escape quotes within the do script command, etc. I will probably figure it out sometime, but not yet.
You can download the Frontier detectors at:
ftp://es-designs.com/FrontierDetectors.sit.hqx
If you have any thoughts, ideas, or improvements, let me know.
Version 0.1a
|