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, 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 ➜ Alias Context Menu / Sub Menu

Alias Context Menu / Sub Menu

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


Posted by Chariot   (1 post)  Bio
Date Wed 15 Jun 2022 11:17 AM (UTC)

Amended on Wed 15 Jun 2022 04:40 PM (UTC) by Chariot

Message
Is there any way to create a submenu item in the Alias (Ctrl+Right Click) Menu?

I basically want to group items as i have a lot of menu items i want to add.

Is this possible or is there another way to achieve this?
Top

Posted by Nick Gammon   Australia  (23,070 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 16 Jun 2022 07:01 AM (UTC)
Message
Not directly in an alias, however look at https://www.gammon.com.au/forum/?id=9280 for some ideas.

You can make a button bar, and the button bar can have menus. The WindowMenu used there can have sub-menus.

Template:function=WindowMenu WindowMenu

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




Or, slightly less complexly perhaps, make a miniwindow "active spot" somewhere in your output window (eg. bottom RH corner) which has a WindowMenu happen when you click on it.

See https://gammon.com.au/mushclient/mw_intro.htm for documentation about miniwindows.

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