MapTool framework developers often use HTML frames and dialogs for character sheets and other interactive displays utilizing the frame() and dialog() macro functions. However, it has often been challenging to see the actual HTML code generated by MapTool.
Phergus discovered that Ctl-A, Ctl-C in a MapTool Frame or Dialog will copy the HTML code behind the window. You can then paste the code into an HTML friendly editor like Notepad++. To get the HTML code into Notepad++ you will have to use Edit -> Paste Special -> Paste HTML as the clipboard will have both plain text as well as HTML on it. Other editors may have similar requirements.
Below is an example character sheet from a Savage Worlds framework.
Clicking on the window and doing a Ctl-A selects all the text within the window.
Clt-C will copy the selected text to your computer’s clipboard. Now navigate to the Online HTML5 Editor and paste your clipboard there.
You can now diagnose the problems with your HTML form in a nice visual format.
MapTool Latest Release 1.7.0
You can download the new version of MapTool from the following links.
A JAR file version may be downloaded from the MapTool GitHub Repo and is only recommended for developers or other advanced users.