Edit 2023-02-10:
It is possible that the script hangs on the first time when selecting a help file content entry!v1.1.6
Fixed: Since v24.00.0104 'get()' has its own html file
v1.1.5
Fixed: Version comparison
v1.1.4
Changed: Add "Run as user_x64.exe"
v1.1.3
Changed: v23.80.0104 changed the html code slightly so that we need to get
the correct part for the advanced scripting section in a slightly different way
v1.1.2
Changed: Switched to .ini & .cfg from permanent variables
No time to debug that atm...
It should work fine on the second and all following attempts.
Edit 11.07.2014:
Because of my personal laziness (I didn't want to include all the latest script commands by hand any more^^)
I rewrote the script... Now it extracts the content of the XYplorer.chm file whenever you update your XY version
and gets all the topics automatically (instead of adding them directly in the script).
This is not a 100% foolproof thing because if the structure of the extracted file changes internally I'd have to reflect
that in the script. Additionally, if the main topic count changes I'll have to adapt the script as well (to add additional
dividers for these sections).
To use the external viewer:
Just copy "ShowHelpFile.exe" and "ShowHelpFile.ini" to the same directory (wherever you like).
By default the script looks in "<xyscripts>" but if it isn't found it'll ask for the correct location.
If you want to define the position and / or size of the .chm window, open the "ShowHelpFile.ini" file and
edit the values for
Left=
, Top=
, Width=
and Height=
...[Current version]: [Old version(s)]:
Description:
I like the keyboard more than a mouse and I have to look up help topics (mainly script commands) quite often.
E.g.: To explore the syntax of a specific script command to use it in the address bar.
Or: Let's see, which inbuild variables XY offers | how ternary conditionals are used, etc.
Opening the help file and clicking through the various entries isn't very "effective", especially the list of script commands
separated by ", " makes it hard to find the one you're looking for.
I've created a script that makes it a bit easier to get what you want.
How I use it:
- Invoke it
- Enter what you're looking for, e.g. "terna" for "ternary conditionals", hit "return"!
-> Help file pops up with the content of Ternary Conditionals.
EDIT: Changed the script slightly. Added configurable dividers to narrow down the list with one entered character.
A few examples:
"@" -> Show only (global) sections (Scripting and Scripting Commands References are excluded)
Atm the "@" is the default for all sections (apart from the two mentioned above + Configuration). You can configure a
divider for each section yourself by editing the $dividers, $div_ats and $div_atscr variables
"+" -> Show only the "Advanced Topics - Scripting" section entries
"+i" -> Advanced Topics - Scripting - Control Structures - If/ElseIf/Else Blocks
"#hi" -> Advanced Topics - Scripting Commands Reference - highlight
"#fol" -> Advanced Topics - Scripting Commands Reference - folderreport()
etc.