#~ Lua script version: 0.4 #--------------------------------------------------------------------------------------------------- #~ File: alternate.help.properties #~ #~ Save this file in the same folder as the "SciTEUser.properties" file. #~ This is normally: "C:\Users\_U_S_E_R_\AppData\Local\AutoIt v3\SciTE" #~ #~ Add this line to the beginning of the "SciTEUser.properties" file: import alternate.help #--------------------------------------------------------------------------------------------------- #~ We assume that each UDF function has a prefix like: "_" & "1 or more literals" & "_". #~ The search for the assigned help file follows this pattern. #~ **changed: see "#~ Differing Prefix" #~ If there is no match, the default Autoit3Help is called. #~ "/funcs" is used as the default storage path for the "function name.htm" within the *.CHM. #~ If a help file is structured differently, this can be defined in the property "chm.func.root.PREFIX". #~ e.g.: chm.func.root._WINHTTP=/html/functions #~ If the default root path is used, this property does not need to be specified. #~ We need to override the au3-help-call # Commands to for Help F1 #~ command.help.$(au3)=$(SciteDefaultHome)\..\Autoit3Help.exe "$(CurrentWord)" #~ command.help.subsystem.$(au3)=2 # New call: --- SET YOUR PATH HERE --- #~ command.help.$(au3)=dofile C:\\CODE\\Lua\\alternate.help.lua #~ command.help.subsystem.$(au3)=3 command.help.$(au3)="C:\Users\BugFix\Downloads\Advanced.Help 1.4\call.advanced.help.exe" "C:\CODE\Lua\advanced.help.lua" #~ command.help.$(au3)="C:\CODE\AutoIt\TEST\call.advanced.help.exe" "C:\CODE\Lua\advanced.help.lua" command.help.subsystem.$(au3)=2 #~ You can define a folder where all your help files will be stored. chm.mainfolder=C:\CODE\AutoIt\helpfiles #~ Define all paths as: "chm.path.prefix_value=Path". #~ The "prefix_value" defines the specific first characters of the UDF functions ("_AD_, _OL_"). #~ IMPORTANT! #~ The path to the help file must never contain a space!! #~ Regardless of whether the prefix of the UDF consists of upper/lower case letters: Upper case letters must always be used in the properties! #~ Active Directory #~ If "chm.mainfolder" is used, you can apply it like this: chm.path._AD_=$(chm.mainfolder)\AD\AD.chm #~ otherwise use the full path: #~ chm.path._AD_=C:\CODE\AutoIt\helpfiles\AD.chm udf.path._AD_=C:\CODE\AutoIt\FREMD_CODE\AD 1.6.0.0\AD.au3 #~ root can also be omitted, as the default path is used chm.func.root._AD_=/funcs #~ OutlookEX chm.path._OL_=$(chm.mainfolder)\OL\OutlookEX.CHM udf.path._OL_=C:\CODE\AutoIt\FREMD_CODE\OutlookEX 1.7.0.0\OutlookEX.au3|C:\CODE\AutoIt\FREMD_CODE\OutlookEX 1.7.0.0\OutlookEX_Base.au3 #~ WinHttp chm.path._WINHTTP=$(chm.mainfolder)\WinHttp\WinHttp.CHM chm.func.root._WINHTTP=/html/functions udf.path._WINHTTP=C:\CODE\User_Include\WinHttp.au3 #~ Differing Prefix #~ To recognise a UDF whose base name is not delimited by an underscore. #~ The base names of this UDF are additionally listed here, separated by "|". differing.prefixes=_WinHttp #~ If you have a very long base path for multiple UDF, you can create a separate property just for that use for better readability: #~ udf.path.base=C:\CODE\AutoIt\FREMD_CODE\OutlookEX 1.7.0.0 #~ udf.path._OL_=$(udf.path.base)\OutlookEX.au3|$(udf.path.base)\OutlookEX_Base.au3