This manual documents only the HoTMetaL PRO scripting extensions; you should also familiarize yourself with:
var fso = new ActiveXObject("Scripting.FileSystemObject"); fso.CopyFile(paramFile,newParamFile);
These objects are available if you have Internet Explorer 4 or 5 on your PC.
For more information, see http://msdn.microsoft.com/scripting and follow the links, or search for Scripting Run-Time Reference.
Here's an example in JScript showing how to start a telnet session from HoTMetaL PRO. Using VBScript would be similar.
<MACRO name="Telnet" lang="JScript"> var WSHShell = new ActiveXObject("WScript.Shell"); WSHShell.Run("telnet"); </MACRO>
Note that the program name that is given as an argument to Run() must be a short file name (one that follows the DOS `8.3' convention; the file extension can often be omitted).
Copyright © SoftQuad Software Inc. 1999