HTML Kit site requirements.

HTML editor / Developer's Reference
HomeHTML-Kit downloadsAdd-ins that update and extend HTML-Kit's capabilitiesSoftware and authoring support channelsRegister -- download add-ons and support HTML-KitOnline tools for HTML-Kit users
  Plugins Generator GUI   |   Submit Plugins   |   22-May-2004
Click for Details
Advertisement

Developer's Reference

 Home > Plugins > Reference
 
 Introduction
HTML-Kit Plugins are optional software that can extend or customize HTML-Kit's capabilities. Although programming experience is not required to create plugins using the Plugins Generator's graphical interface, HTML-Kit also makes it possible for programmers to create advanced plugins in 12+ languages.
 
The supported programming languages include C/C++, .NET C#, Delphi, Java, JavaScript, Perl, PHP, Python, Ruby, VBScript, Visual Basic and hkScript.
 
Have questions? Help is available on the HTML-Kit plugins newsgroup. See also: Sample plugin code cross-reference
 
 C/C++
  • Select "Tools | Plugins Generator" from HTML-Kit's main menu to invoke the Plugins Generator.
     
    Once opened, select "Edit | Plugin Options" from the Plugins Generator's main menu. Select "C/C++" for the "Language" and click "OK".
     
    Visually create a simple plugin and save the source code under a file name such as MyPlugin.c using the "File | Save plugin code as" menu option. Optionally, the MyPlugin.c file can be modified to include any additional code/functionality.
     
  • Download and extract the header/include files to the same directory where the plugin source code was saved.
     
  • Compile and link MyPlugin.c and hkpcore.c files into a Windows DLL file using a Windows C/C++ compiler.
     
    To compile using Microsoft Visual C++:
     
    cl /LD MyPlugin.c hkpcore.c
     
    To compile using Borland C++ or Borland C++Builder:
     
    bcc32 -tWD MyPlugin.c hkpcore.c
     
    OR
     
    bcc32 -tWD -w-par -w-pro MyPlugin.c hkpcore.c

     
  • Install MyPlugin.dll using the "Tools | Install | Plugin" main menu option in HTML-Kit. The new plugin can be invoked from the "Actions Bar".
     
  • See also: sample plugins written in C/C++.
 
 .NET C#
  • Select "Tools | Plugins Generator" from HTML-Kit's main menu to invoke the Plugins Generator.
     
    Once opened, select "Edit | Plugin Options" from the Plugins Generator's main menu. Select "C# (.NET)" for the "Language" and click "OK".
     
    Visually create a simple plugin and save the source code under a file name such as MyPlugin.cs using the "File | Save plugin code as" menu option. Optionally, the MyPlugin.cs file can be modified to include any additional code/functionality.
     
  • Download and extract HKPCore.cs (for .NET Framework v1.1) to the same directory where the plugin source code was saved.
     
  • Compile MyPlugin.cs and hkpcore.cs.
     
    csc /target:winexe hkpcore.cs MyPlugin.cs

     
  • Install MyPlugin.exe using the "Tools | Install | Plugin" main menu option in HTML-Kit. The new plugin can be invoked from the "Actions Bar".
     
  • See also: sample plugins written in C# (.NET).
 
 Delphi
  • Select "Tools | Plugins Generator" from HTML-Kit's main menu to invoke the Plugins Generator.
     
    Once opened, select "Edit | Plugin Options" from the Plugins Generator's main menu. Select "Delphi" for the "Language" and click "OK".
     
    Visually create a simple plugin and save the source code under a file name such as MyPlugin.dpr using the "File | Save plugin code as" menu option. Optionally, the MyPlugin.dpr file can be modified to include any additional code/functionality.
     
  • Download and extract the header/include files to the same directory where the plugin source code was saved.
     
  • Compile MyPlugin.dpr.
     
    dcc32 MyPlugin.dpr

     
  • Install MyPlugin.exe using the "Tools | Install | Plugin" main menu option in HTML-Kit. The new plugin can be invoked from the "Actions Bar".
     
  • See also: sample plugins written in Delphi.
 
 Java
  • Select "Tools | Plugins Generator" from HTML-Kit's main menu to invoke the Plugins Generator.
     
    Once opened, select "Edit | Plugin Options" from the Plugins Generator's main menu. Select "Java" for the "Language" and click "OK".
     
    Visually create a simple plugin and save the source code under a file name such as MyPlugin.java using the "File | Save plugin code as" menu option. Optionally, the MyPlugin.java file can be modified to include any additional code/functionality.
     
  • Download and extract the header/include files to the same directory where the plugin source code was saved.
     
  • Compile MyPlugin.java.
     
    javac MyPlugin.java

     
  • Install MyPlugin.class using the "Tools | Install | Plugin" main menu option in HTML-Kit. The new plugin can be invoked from the "Actions Bar".
     
  • See also: sample plugins written in Java.
 
 JavaScript
  • Select "Tools | Plugins Generator" from HTML-Kit's main menu to invoke the Plugins Generator.
     
    Once opened, select "Edit | Plugin Options" from the Plugins Generator's main menu. Select "JavaScript" for the "Language" and click "OK".
     
    Visually create a simple plugin and save the source code under a file name such as MyPlugin.js using the "File | Save plugin code as" menu option. Optionally, the MyPlugin.js file can be modified to include any additional code/functionality.
     
  • Download and extract the header/include files to the same directory where the plugin source code was saved.
     
  • Install MyPlugin.js using the "Tools | Install | Plugin" main menu option in HTML-Kit. The new plugin can be invoked from the "Actions Bar".
     
  • See also: sample plugins written in JavaScript.
 
 Perl
  • Select "Tools | Plugins Generator" from HTML-Kit's main menu to invoke the Plugins Generator.
     
    Once opened, select "Edit | Plugin Options" from the Plugins Generator's main menu. Select "Perl" for the "Language" and click "OK".
     
    Visually create a simple plugin and save the source code under a file name such as MyPlugin.pl using the "File | Save plugin code as" menu option. Optionally, the MyPlugin.pl file can be modified to include any additional code/functionality.
     
  • Download and extract the header/include files to the same directory where the plugin source code was saved.
     
  • Install MyPlugin.pl using the "Tools | Install | Plugin" main menu option in HTML-Kit. The new plugin can be invoked from the "Actions Bar".
     
  • See also: sample plugins written in Perl.
 
 PHP
  • Select "Tools | Plugins Generator" from HTML-Kit's main menu to invoke the Plugins Generator.
     
    Once opened, select "Edit | Plugin Options" from the Plugins Generator's main menu. Select "PHP" for the "Language" and click "OK".
     
    Visually create a simple plugin and save the source code under a file name such as MyPlugin.php using the "File | Save plugin code as" menu option. Optionally, the MyPlugin.php file can be modified to include any additional code/functionality.
     
  • Download and extract the header/include files to the same directory where the plugin source code was saved.
     
  • Install MyPlugin.php using the "Tools | Install | Plugin" main menu option in HTML-Kit. The new plugin can be invoked from the "Actions Bar".
     
  • See also: sample plugins written in PHP.
 
 Python
  • Select "Tools | Plugins Generator" from HTML-Kit's main menu to invoke the Plugins Generator.
     
    Once opened, select "Edit | Plugin Options" from the Plugins Generator's main menu. Select "Python" for the "Language" and click "OK".
     
    Visually create a simple plugin and save the source code under a file name such as MyPlugin.py using the "File | Save plugin code as" menu option. Optionally, the MyPlugin.py file can be modified to include any additional code/functionality.
     
  • Download and extract the header/include files to the same directory where the plugin source code was saved.
     
  • Install MyPlugin.py using the "Tools | Install | Plugin" main menu option in HTML-Kit. The new plugin can be invoked from the "Actions Bar".
     
  • See also: sample plugins written in Python.
 
 Ruby
  • Select "Tools | Plugins Generator" from HTML-Kit's main menu to invoke the Plugins Generator.
     
    Once opened, select "Edit | Plugin Options" from the Plugins Generator's main menu. Select "Ruby" for the "Language" and click "OK".
     
    Visually create a simple plugin and save the source code under a file name such as MyPlugin.rb using the "File | Save plugin code as" menu option. Optionally, the MyPlugin.rb file can be modified to include any additional code/functionality.
     
  • Download and extract the header/include files to the same directory where the plugin source code was saved.
     
  • Install MyPlugin.rb using the "Tools | Install | Plugin" main menu option in HTML-Kit. The new plugin can be invoked from the "Actions Bar".
     
  • See also: sample plugins written in Ruby.
 
 VBScript
  • Select "Tools | Plugins Generator" from HTML-Kit's main menu to invoke the Plugins Generator.
     
    Once opened, select "Edit | Plugin Options" from the Plugins Generator's main menu. Select "VBScript" for the "Language" and click "OK".
     
    Visually create a simple plugin and save the source code under a file name such as MyPlugin.vbs using the "File | Save plugin code as" menu option. Optionally, the MyPlugin.vbs file can be modified to include any additional code/functionality.
     
  • Download and extract the header/include files to the same directory where the plugin source code was saved.
     
  • Install MyPlugin.vbs using the "Tools | Install | Plugin" main menu option in HTML-Kit. The new plugin can be invoked from the "Actions Bar".
     
  • See also: sample plugins written in VBScript.
 
 Visual Basic
  • Select "Tools | Plugins Generator" from HTML-Kit's main menu to invoke the Plugins Generator.
     
    Once opened, select "Edit | Plugin Options" from the Plugins Generator's main menu. Select "Visual Basic" for the "Language" and click "OK".
     
    Visually create a simple plugin and save the source code under a file name such as MyPlugin.bas using the "File | Save plugin code as" menu option. Optionally, the MyPlugin.bas file can be modified to include any additional code/functionality.
     
  • Download and extract the header/include files to the same directory where the plugin source code was saved.
     
  • Add MyPlugin.bas to a Visual Basic project and create an *.exe file.
     
  • Install MyPlugin.exe using the "Tools | Install | Plugin" main menu option in HTML-Kit. The new plugin can be invoked from the "Actions Bar".
     
  • See also: sample plugins written in Visual Basic.