[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Tips and tricks
. . -> [Subject]  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] Refresh page


Posted by Nick Gammon   Australia  (23,016 posts)  [Biography] 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.


  1. In Crimson editor Open Preferences dialog box (Tools -> Preferences) and select User Tools page

  2. 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
[Go to top] 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,503 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]