Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Tips and tricks
➜ Accessing MUSHclient help from Crimson Editor
Accessing MUSHclient help from Crimson Editor
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Mon 22 May 2006 09:53 PM (UTC) Amended on Mon 22 May 2006 09:57 PM (UTC) by Nick Gammon
|
Message
| 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.
- 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.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
5,958 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top