No web server

This example illustrates some of the new web features in MonkeyTerm v2+.

For reference you might want to take a peek at the MOM.

This example explains how you can communicate with the browser window with out having the MT webserver runnning. The basic idea is to give the session and the application objects to the browser. This way you can access the MT class hierachy from JavaScript. Excellent eh?

How to load a page when the session loads

We make the on load event force the browserwindow to load the appropriate page using file://. This is done in the "OnLoad" Event. <%
session.browser.width=6200
session.browser.visible=true
session.updatelayout
Session.browser.locationurl="file://" & session.expandpath("%sessionpath%/NoWebServer.htm")
%>

This is how this help document is loaded. And, as you can see, it works. Press F10 to find this events in the FMT. How to execute a command by clicking a link in the browser How to dynamically update browser content from the monkey session.