Register forum user name Search FAQ

Gammon Forum

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.
 Entire forum ➜ MUSHclient ➜ General ➜ Alternate numpad bindings with ctrl, alt, shift, etc.?

Alternate numpad bindings with ctrl, alt, shift, etc.?

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


Posted by Koda   (4 posts)  Bio
Date Tue 20 Mar 2012 10:47 PM (UTC)
Message
So I use the numpad for various aliases but I've run out of room and would like to use shift+numpad, ctrl+numpad, etc. to expand my options.. I notice there's not a way to set this in the menu (unless I'm just blind), but I do believe it can be accomplished?

Can someone give me a hand with setting this up?

Thanks so much!
Top

Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #1 on Wed 21 Mar 2012 12:02 AM (UTC)
Message
Use accelerators.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Koda   (4 posts)  Bio
Date Reply #2 on Wed 21 Mar 2012 01:58 AM (UTC)
Message
Sorry, I'm not familiar with them. Would you mind elaborating a little bit?
Top

Posted by Nick Gammon   Australia  (23,121 posts)  Bio   Forum Administrator
Date Reply #3 on Wed 21 Mar 2012 05:14 AM (UTC)
Message
Template:faq=39 Please read the MUSHclient FAQ - point 39.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Koda   (4 posts)  Bio
Date Reply #4 on Wed 21 Mar 2012 01:05 PM (UTC)
Message
Thank you, that works beautifully.

However, in testing this, I added an accelerator for 'Shift+D' and after removing it from the plugin the client still has that bound.

Obviously that won't work out because I need to be able to type a capital D.

How do I go about removing this?
Top

Posted by Nick Gammon   Australia  (23,121 posts)  Bio   Forum Administrator
Date Reply #5 on Wed 21 Mar 2012 07:59 PM (UTC)
Message
Use this to find your accelerators:

Template:function=AcceleratorList AcceleratorList

The documentation for the AcceleratorList script function is available online. It is also in the MUSHclient help file.



Then for each one:

Template:function=Accelerator Accelerator

The documentation for the Accelerator script function is available online. It is also in the MUSHclient help file.



From that page:

Quote:

To disable a previously-assigned accelerator, call this function with an empty string as the command.


You would do that in the OnPluginClose function. Then when the plugin is removed all accelerators are removed. Or if you do this rarely, just type in the command window:


/ Accelerator ("shift+D", "")



- 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.


17,104 views.

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

Go to topic:           Search the forum


[Go to top] top

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