Internal HTML Editor

HTML Executable features an internal HTML editor that lets you directly edit the source code of HTML pages.

To open it, go to the File Manager, then select an HTML page and press Edit Source. The editor looks like this:

img

As you can see, the HTML code can be edited in the text box: HTML syntax is highlighted and line numbers are displayed.

At the top side of the window, you can find a toolbar with standard character and paragraph formatting tools, like in standard HTML editors. The HTML editor also includes three special buttons that give you access to special commands only available for IE and HTML Viewer publications.

Note: leave the mouse cursor on a button and its description will appear in the small hint window.

Using the editor

To modify the HTML code, use the text box and make your changes. Be sure to press OK to confirm your changes; HTML Executable will save changes back to your HTML file. Note that a backup file can be created (.~HTM extension): see the Environment Options.

Special commands

First button: adding images

This command lets you insert links to graphics into HTML pages: clicking this button will show you the list of available graphic compatible source files. You can then select the wished graphic file and the associated HTML code will be inserted.

You can use this option to add pictures to the dialog boxes if you wish.

Second button: Call an HEScript function (link)

This button is especially designed if you work with HEScript scripts (advanced users only): it lets you insert an HTML link (<a>) to call a procedure or a function from an HEScript script. When you click it, HTML Executable will display all of the script functions available in your project. You can then choose which one you want to insert. The result is a normal HTML hyperlink that will call the script function when end users click on it.

To create HEScript scripts, please go to the User Scripts tab.

More information about scripting


Copyright G.D.G. Software 2018. All rights reserved