Advanced.Help

This tool allows to include custom help files in SciTE (e.g. AD.CHM for the Active Directory UDF).
The existing help key is used to call either the AutoIt help or the corresponding user-defined help. 
Depending on which keyword the cursor is currently on. For AutoIt or unknown keywords the AutoIt help is called.
For AutoIt a separate window is opened and for the user-defined UDFs another window is opened, so that you can comfortably 
work with both help files at the same time.

PREREQUISITES

* The help files must be of type CHM (Compiled HTML Help) (e.g. AD.chm) 
* All functions of an UDF must start with the same identifier (e.g. "_AD_")
* The corresponding UDF file must also be available (e.g. AD.au3)

INSTALLATION / CONFIGURATION

Values to be adjusted are written in angle brackets (<>) or marked as examples.

* File "advanced.help.properties" must be placed in the same directory as the file "SciTEUser.properties".
  This is usually the directory "C:\User\<your username>\AppData\Local\AutoIt v3\SciTE".
* In this directory, add the following line to the beginning of the "SciTEUser.properties" file:
    import advanced.help
* Compile the file "call.advanced.help.au3" to "call.advanced.help.exe". 
* Copy the files "call.advanced.help.exe" and "advanced.help.lua" to any directory of your choice (example C:\AutoIt\Advanced.Help\Code).
* Copy the CHM help files to be used into a directory (example: "C:\AutoIt\Advanced.Help\HelpFiles")
* Modify the advanced.help.properties file as follows:
  * In line 
      "command.help.$(au3)=" 
    specify the full path to "call.advanced.help.exe" and "advanced.help.lua".
    With this modification you overwrite the default help entry!
      Example: command.help.$(au3)="C:\AutoIt\Advanced.Help\Code\call.advanced.help.exe" "C:\AutoIt\Advanced.Help\Code\advanced.help.lua"
  * In line 
      "chm.mainfolder="
    you can specify the directory where all CHM help files are located. 
      Example: chm.mainfolder=C:\AutoIt\Advanced.Help\HelpFiles
  * In line 
      "udf.mainfolder="
    you can specify the directory where all UDF files (e.g. AD.au3) are located. 
      Example: udf.mainfolder=C:\AutoIt\Include

    However, you can also specify the path for each CHM and UDF file separately.
  * Define all paths for the CHM and UDF files in the format: "chm.path.<identifier>=<path>".
    The identifier defines the first characters of a UDF function (example: "_AD_" for the Active Directory UDF).
    IMPORTANT! The path to the CHM files may not contain any spaces!
    
    If "chm.mainfolder" was defined, then for the CHM file the path specification can look like this:
      chm.path.<identifier>=$(chm.mainfolder)\<name of UDF>.chm
      Example: chm.path._AD_=$(chm.mainfolder)\AD.chm
    Otherwise the complete path must be specified.
      Example: chm.path._AD_=C:\AutoIt\Advanced.Help\HelpFiles\AD.chm

    This applies analogously to the UDF file.  
    If "udf.mainfolder" was defined, then for the UDF file the path specification can look like this:
      udf.path.<identifier>=$(udf.mainfolder)\<name of UDF>.au3
      Example: udf.path._AD_=$(udf.mainfolder)\AD.au3
    Otherwise, the complete path must be specified.
      Example: udf.path._AD_=C:\AutoIt\Include\AD.au3
    If the functions of a UDF with the same identifier have been split into several files, they must be specified separated by |.
      Example: udf.path._OL_=$(udf.mainfolder)\OutlookEX.au3|$(udf.mainfolder)\OutlookEX_Base.au3

    Examples for the AD and OutlookEX UDF:

      chm.mainfolder=C:\AutoIt\Advanced.Help\HelpFiles
      udf.mainfolder=C:\AutoIt\Include

      #~ Active Directory UDF
      chm.path._AD_=$(chm.mainfolder)\AD.chm
      udf.path._AD_=$(udf.mainfolder)\AD.au3

      #~ OutlookEX and OutlookEX_Base
      chm.path._OL_=$(chm.mainfolder)\OutlookEX.chm
      udf.path._OL_=$(udf.mainfolder)\OutlookEX.au3|$(udf.mainfolder)\OutlookEX_Base.au3