Further to my post here:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=6559
That post showed how to get help on Lua keywords from inside Crimson Editor.
This post shows how to get help on MUSHclient functions (like AddTrigger) from inside Crimson Editor.
You may need to browse for the exact location of the winhlp32.exe program. I found it in my C:\WINDOWS directory using Windows XP.
You may also need to browse for the location of the MUSHclient directory. I made that the "Initial dir" because that is where the MUSHclient help file is, however if you put the full pathname to the help file under "Argument" then it wouldn't matter what the Initial Dir was.
What this does is start the Windows Help program, telling it to look up the item indexed as FNC_function_name (eg. FNC_ActivateNotepad) which is how all the function names are indexed inside the MUSHclient help file.
If found, it opens the appropriate help page. If not you get a message about "that topic does not exist".
This tip makes it easy to check the usage and syntax of all of the inbuilt functions, without leaving Crimson Editor.
I set mine to open on Ctrl + F1 (I used F1 for the Lua help), however you can choose any keystroke you like.
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=6559
That post showed how to get help on Lua keywords from inside Crimson Editor.
This post shows how to get help on MUSHclient functions (like AddTrigger) from inside Crimson Editor.
- In Crimson editor Open Preferences dialog box (Tools -> Preferences) and select User Tools page
- Select an empty slot and fill with the following arguments.
- Menu Text: MUSHclient Context Help
- Command: C:\WINDOWS\winhlp32.exe
- Argument: -iFNC_$(CurrWord) mushclient.hlp
- Initial dir: C:\Program Files\MUSHclient
- Hot key: Ctrl + F1
- Close on exit: Yes
- Save before execute: No
You may need to browse for the exact location of the winhlp32.exe program. I found it in my C:\WINDOWS directory using Windows XP.
You may also need to browse for the location of the MUSHclient directory. I made that the "Initial dir" because that is where the MUSHclient help file is, however if you put the full pathname to the help file under "Argument" then it wouldn't matter what the Initial Dir was.
What this does is start the Windows Help program, telling it to look up the item indexed as FNC_function_name (eg. FNC_ActivateNotepad) which is how all the function names are indexed inside the MUSHclient help file.
If found, it opens the appropriate help page. If not you get a message about "that topic does not exist".
This tip makes it easy to check the usage and syntax of all of the inbuilt functions, without leaving Crimson Editor.
I set mine to open on Ctrl + F1 (I used F1 for the Lua help), however you can choose any keystroke you like.