ROFM CGI Miscellaneous Topics

Contents
Introduction
Set Up
Use
Special Characters
Misc
History
Source Code
Acknowledgements
Legal Stuff

History

Source Code

ROFM.acgi is a FaceSpan project written in AppleScript. You must have FaceSpan 2.1 (a commercial scripting development environment) to edit ROFM.acgi. To edit ROFM.acgi simply drag and drop it onto FaceSpan. FaceSpan is available from Digital Technology International. A free demo version is available that may be sufficient for personal modifications to ROFM CGI; the primary limitation to the demo is that you may not distribute software created using it.

Before changing ROFM.acgi you must first install various items in ROFM CGI's "Scripting Additions" folder, including several from the GTQ archive. Read the file " Read Me (Scripting Additions)" in that folder for details. These items must be installed to compile ROFM.acgi, ROFMUtil or ROFMCGIMain, but are not required after compilation.

ROFMUtil is a "compiled script" that contains all the code that ROFM CGI uses to communicate with FileMaker Pro. These routines are intended to be quite general and reusable. Hence you may find them useful for your own scripts. Also, the routines are optimized and work around many of the quirks in FileMaker's Apple Event support. The primary documentation for ROFMUtil is the comments in the source code (each subroutine includes an explanatory header).

To read the ROFMUtil source code, simply double-click the file to open it in Script Editor. If the file fails to open, no matter what the error message is, please try increasing the memory partition for Script Editor. For your protection, please only edit a copy.

Please do not modify ROFMUtil unless you know what you are doing. FileMaker Pro Apple Event support is rather weird and tricky (though much less so in FileMaker Pro 3 than in 2.1v3). Don't change anything unless you are willing to verify that it works, and don't use modified code with ROFM.acgi unless you are fully understand the interface. Some warnings for bold coders:

ROFMCGIMain is a "compiled script" that contains the CGI-level subroutines which perform the various actions, once ROFM.acgi has received and parsed the event. It may be of interest to CGI scripters, but probably nobody else. The procedure for reading and modifying the code are the same as those for ROFMUtil (see above).

Acknowledgements

François Matte has made major contributions to ROFM CGI by implementing ISO-Latin translation, developing the initial preferences file code, many other user interface enhancements, supplying the graphics for the about box, and creating ROFMfr, a French adaptation, available from the ROFM CGI home site.

Many people wrote scripting additions that are used by ROFM CGI. These handy software components add capabilities, greatly increase speed, or simplify code. Except for ACME Script Widgets, these utilities are all included with ROFM CGI in the Scripting Additions folder.

Thanks to Jon Weiderspan for writing the fine CGI shell and tutorials that helped get me started, to Eric Bickford for early help with scripting FileMaker Pro, to Jon Pugh for many excellent tips posted to the MacScrpt mailing list, to John Baxter for lots of help in an attempted conversion of this script to Frontier, and to Claris for greatly improving its apple event support in 3.0 (though it still has a ways to go). Last but not least, thanks to the many users who have suggested improvements, reported problems, and generally been supportive. You have made working on this CGI very rewarding.

Legal Stuff

This software is not guaranteed in any way. I have attempted to make it robust and useful, but make no promises as to the results. You use this software entirely at your own risk.

Copyright © 1995, 1996, 1997 by Russell E Owen. All rights reserved, except that you may use ROFM CGI without charge. All I ask is that if you use ROFM CGI, please include mention of it on your server.

If you wish to distribute this software, please make arrangements with me. At the minimum I will ask for assurances that you will keep your distribution current and will not charge for distribution.