| Introduction to Scripting with HEScript |
Applies to HTML Viewer, IE Browser publications. Ebooks and publications made with HTML Executable are actually script-driven and they feature a built-in script engine. A publication is therefore managed by a collection of scripts that were generated and compiled into p-code by HTML Executable. When a publication is run, its runtime module executes the different scripts in order to simulate a web browser where end users can view your HTML pages, and to respond to the actions performed by your end users. You can therefore extend the functionality of publications by writing and calling your own script functions. This feature allows you to do almost anything you want.
About the script language
Contrary to JavaScript, you cannot write HEScript functions directly into HTML pages because the HEScript scripts need first to be compiled into pseudo-code as explained above. That's why you have to use the User Script Manager to write and manage your scripts. A simple script example: // UserMain
Some important notes:
Please see these topics too:
|
This is the online documentation of HTML Executable.
About HTML Executable
HTML Executable is a versatile HTML compiler and ebook compiler: it lets you create secure ebooks and desktop applications with your websites, HTML or PDF documents.
You can easily create attractive ebooks, full-featured HTML applications (RIA) and software, digital publications from your websites, PDF files and HTML documents for online or offline distribution.