Last Revised: June 20, 2002
mv spell.txt spell.plmv spell.pl /var/CommuniGate/cgi-bin (or whatever the path to your "cgi-bin" folder is)chmod 755 spell.plpico spell.pl$path = '/Library/Services/cocoAspell.service/Contents/MacOS/cocoAspell';
Add the text that is in bold:
<BODY BGCOLOR="#ffffff" LINK="#330099 ALINK="#330099"
VLINK="#330099" onLoad="document.mail.Body.focus()">
<FORM action="Compose.wssp" method="post" enctype="multipart/form-data" name="mail">
Add your SpellCheck button somewhere on your compose page...location is up to you:
<input type="button" name="SpellCheck" value="SpellCheck" onclick="sendtext()">
Near the bottom of compose.wssp html between the lines:and
</FORM><!--%%INCLUDE "Navigation.wssi"-->
</BODY>
Insert the following: (You should first copy this into a plain text editor, otherwise the html will be scrambled)
<form id="spell" name="spell">
<script>
function sendtext() {
var semi = new RegExp("\;","g");
document.send.checkme.value = (document.mail.Body.value.replace(semi,"\;"));
document.send.form.value = "mail";
document.send.field.value = "Body";
window.open('','SpellChecker','width=480,height=360,top=150,left=150,scrollbars=1,location=true');
document.send.submit();
}
</script>
</form>
<form id="send" name="send" action="/cgi-bin/spell.pl" method="POST" target="SpellChecker">
<input type="hidden" id="checkme" name="checkme" value="">
<input type="hidden" id="form" name="form" value="">
<input type="hidden" id="field" name="field" value="">
<input type="hidden" id="spell" name="spell" value="check">
</form>