Hi again, I was just wondering how I go about creating custom context menus. I couldn't find much info in the manual, but I probably just missed something. If the info is there, could somebody point me in the right direction please. Thank you.
Also, what I did find was that there was no option for creating the 'Skins' menu item, is that right? What I plan on doing is creating some buttons for direct access to menu items. The skins menu item is one of the main ones
It is currently September 19th, 2024, 12:52 am
Creating a context menu
-
- Posts: 1700
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Creating a context menu
57686174 77696C6C 6265 77696C6C 6265
-
- Rainmeter Sage
- Posts: 1398
- Joined: April 24th, 2021, 8:13 pm
Re: Creating a context menu
from the Realm of Death
-
- Posts: 1700
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Creating a context menu
Thanks dc, but after a quick perusal, not really what I'm after. I only wanted a few select buttons that open context menu items, so rather than right clicking a skin to load a skin, you could just click a shape meter button and it opens the skin menu, as an example.
57686174 77696C6C 6265 77696C6C 6265
-
- Rainmeter Sage
- Posts: 1398
- Joined: April 24th, 2021, 8:13 pm
Re: Creating a context menu
Ohh, it's [!SkinCustomMenu]sl23 wrote: ↑November 5th, 2021, 1:24 pm Thanks dc, but after a quick perusal, not really what I'm after. I only wanted a few select buttons that open context menu items, so rather than right clicking a skin to load a skin, you could just click a shape meter button and it opens the skin menu, as an example.
from the Realm of Death
-
- Posts: 1383
- Joined: September 7th, 2020, 2:24 pm
- Location: QLD, Australia
Re: Creating a context menu
Yep, you can use either (or any) mouse click action/s to get !SkinCustomMenu. Even more than one depending on which. Can get messy quickly though. Which is partly the reason the devs have opted out of having sub menus be another option for that functionality.
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
-
- Posts: 1700
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Creating a context menu
Thanks for the response, but that doesn't help much.
I need to know more about how to use that and specifically, whether the Rainmeter/Skins context menu can bu used in a button, and how to do so. Isn't this info in the manual?
Thanks
I need to know more about how to use that and specifically, whether the Rainmeter/Skins context menu can bu used in a button, and how to do so. Isn't this info in the manual?
Thanks
57686174 77696C6C 6265 77696C6C 6265
-
- Developer
- Posts: 22745
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Creating a context menu
No, the submenu Rainmeter/Skins on the main context menu cannot be opened separately. You can open the main Rainmeter context menu from a button easily enough.
https://docs.rainmeter.net/manual/bangs/#TrayMenu
LeftMouseUpAction=[!TrayMenu]
-
- Posts: 1700
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Creating a context menu
Ah ok, thank you. I don't suppose it's worth requesting it? I find it a real pain when dealing with skins. The manage window isn't very good due to having to click on every folder first before clicking a skin! I think this could be made easier. Just a suggestion
Thanks for your help
Thanks for your help
57686174 77696C6C 6265 77696C6C 6265
-
- Posts: 1383
- Joined: September 7th, 2020, 2:24 pm
- Location: QLD, Australia
Re: Creating a context menu
Well, the context menu as it is can directly access a skin with "Manage Skin" selection.sl23 wrote: ↑November 6th, 2021, 12:30 am Ah ok, thank you. I don't suppose it's worth requesting it? I find it a real pain when dealing with skins. The manage window isn't very good due to having to click on every folder first before clicking a skin! I think this could be made easier. Just a suggestion
Thanks for your help
Also, you can specify which function is available from the custom menu, depending on what functionality you are looking for, simply by creating the custom menu with ContexTitle and ContextAction. Switching to other configs or variants are common ones.
What are you actually trying to have happen?
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
-
- Rainmeter Sage
- Posts: 1398
- Joined: April 24th, 2021, 8:13 pm
Re: Creating a context menu
Imagine having to scroll through thousands of skins when you actually have 50 configs.sl23 wrote: ↑November 6th, 2021, 12:30 am Ah ok, thank you. I don't suppose it's worth requesting it? I find it a real pain when dealing with skins. The manage window isn't very good due to having to click on every folder first before clicking a skin! I think this could be made easier. Just a suggestion
Thanks for your help
from the Realm of Death