I'm probably not allowed to do this, but adding the following function:
Code:
function insertGenericTwoParter(theForm, theValue, theMessage, defaultArg){
//theValue is the vb code
//theMessage is the message asking for the argument to the VB code
var arg=prompt(theMessage, defaultArg);
if (!arg) return; //end on cancel.
var theText=prompt("Enter text to insert between the "+theValue+" tags", "");
if (!theText) return; //end on cancel.
var tempText= "["+theValue+"="+arg+"]"+theText+"[/"+theValue+"]";
AddText(tempText,theform);
theform.message.focus();
}
...into the same .js file allows you to add new buttons for new effects at will, without having to re-hack the file.
This may be useful to someone..
Regards,
Alex