Can we add item separators in menus?
Moderator: Kathy_9
Can we add item separators in menus?
I was doing some customization the other day, adding some scripts in some menus. I wanted to visually group them apart from the regular menu entries, but I couldn't find a way to add a menu entry separator. Is it possible?
Good Unofficial PaintShop Pro Tutorials: Creation Cassel • Make Shop Pro • HEC Image Editing • LeviFiction PSP Basics
(plus my own Gimp & Stuff)
(plus my own Gimp & Stuff)
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Alienware M17xR4
- processor: Intel Core i7-3630QM CPU - 2_40GH
- ram: 6 GB
- Video Card: NVIDIA GeForce GTX 660M
- sound_card: Sound Blaster Recon3Di
- Hard_Drive_Capacity: 500GB
- Corel programs: PSP: 8-2023
- Location: USA
Re: Can we add item separators in menus?
Yes you can.
1) Open Customize dialog (View -> Customize)
2) Click on one of the menus to open it up
3) Right-click on a menu item (the seperator will appear above this item)
4) Select 'Start Group'
You now have the beginnings of a group.
Also, fun additional tip. If you want to change the menu shortcut (not the same as keyboard shortcut) you just have to add an "&" in front of any letter in the menu item name. It'll become underlined and then when the menu is open just hit that letter key and it'll select that command. You can also use this to clean up the menu shortcuts that Corel has made as sometimes they overlap or don't make the most sense. Or you can use this to give your own bound scripts a menu shortcut.
1) Open Customize dialog (View -> Customize)
2) Click on one of the menus to open it up
3) Right-click on a menu item (the seperator will appear above this item)
4) Select 'Start Group'
You now have the beginnings of a group.
Also, fun additional tip. If you want to change the menu shortcut (not the same as keyboard shortcut) you just have to add an "&" in front of any letter in the menu item name. It'll become underlined and then when the menu is open just hit that letter key and it'll select that command. You can also use this to clean up the menu shortcuts that Corel has made as sometimes they overlap or don't make the most sense. Or you can use this to give your own bound scripts a menu shortcut.
https://levifiction.wordpress.com/
-
JoeB
- Posts: 2778
- Joined: Fri Mar 28, 2008 10:04 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: LENOVO 4524PE4 ThinkCentre M91p
- processor: 3.10 gigahertz Intel Quad Core i5-2400
- ram: 8 GB
- Hard_Drive_Capacity: 4.6 TB
- Corel programs: PSP 9, X7 to 2019, 32 & 64-bit
- Location: Canada
Re: Can we add item separators in menus?
@Levifiction: The ampersand in your post looked really weird on my monitor and I actually couldn't tell that it was an ampersand although guessed it was supposed to be one. I had to copy it and paste it into a text editor - where it looked normal - to confirm that it actually was an ampersand. Not sure why that is.
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Alienware M17xR4
- processor: Intel Core i7-3630QM CPU - 2_40GH
- ram: 6 GB
- Video Card: NVIDIA GeForce GTX 660M
- sound_card: Sound Blaster Recon3Di
- Hard_Drive_Capacity: 500GB
- Corel programs: PSP: 8-2023
- Location: USA
Re: Can we add item separators in menus?
Ah, the Start Group command! Thank you Levi!
About the ampersand, if I recall right (it''s been ages) that's the default character the Win32 API interprets as menu shortcut. Tthe programmer didn't have to do anything else, just add the '&' in front of the letter in the resource file, and the rest was taken care automatically by the Win32 API/libraries. Right?
Ok, something else now. I just noticed I have several issues with custom toolbars. They do not get deleted. See this screenshot: http://prntscr.com/tho8pn
Those custom "Older Tools" toolbars were created in a custom workspace. I was playing around, and decided to delete all but just 1 of them. Well they kept coming back with empty names. But only 1 of them is actual operational. At some point I renamed them and tried to delete them, no luck. Right now, i have them as you see them in the screenshot above, and it does not let me delete them (it does that DING noise every time I try to delete any of them, besides the operational one - I think).
PSP 2020U
Win 8.1 Pro x64
About the ampersand, if I recall right (it''s been ages) that's the default character the Win32 API interprets as menu shortcut. Tthe programmer didn't have to do anything else, just add the '&' in front of the letter in the resource file, and the rest was taken care automatically by the Win32 API/libraries. Right?
Ok, something else now. I just noticed I have several issues with custom toolbars. They do not get deleted. See this screenshot: http://prntscr.com/tho8pn
Those custom "Older Tools" toolbars were created in a custom workspace. I was playing around, and decided to delete all but just 1 of them. Well they kept coming back with empty names. But only 1 of them is actual operational. At some point I renamed them and tried to delete them, no luck. Right now, i have them as you see them in the screenshot above, and it does not let me delete them (it does that DING noise every time I try to delete any of them, besides the operational one - I think).
PSP 2020U
Win 8.1 Pro x64
Good Unofficial PaintShop Pro Tutorials: Creation Cassel • Make Shop Pro • HEC Image Editing • LeviFiction PSP Basics
(plus my own Gimp & Stuff)
(plus my own Gimp & Stuff)
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Alienware M17xR4
- processor: Intel Core i7-3630QM CPU - 2_40GH
- ram: 6 GB
- Video Card: NVIDIA GeForce GTX 660M
- sound_card: Sound Blaster Recon3Di
- Hard_Drive_Capacity: 500GB
- Corel programs: PSP: 8-2023
- Location: USA
Re: Can we add item separators in menus?
Yes, the Win32APi is where that's from.
I think there might be corruption in the workspace. Since it's all registry info, your only option may be to do a full Factory Reset and start again. Making sure to save the workspace in stages. PSP May have some good customization options, but they only really have the "nuclear" option when things go wrong.
I think there might be corruption in the workspace. Since it's all registry info, your only option may be to do a full Factory Reset and start again. Making sure to save the workspace in stages. PSP May have some good customization options, but they only really have the "nuclear" option when things go wrong.
https://levifiction.wordpress.com/
Re: Can we add item separators in menus?
Thanks Levi. You mean holding Shift down when launching PSP, right? Never needed to do that before, but I may give it a try.
Or I can just leave it as is (LOL). I don't mind re-doing the workspace and the general preferences, it's the keyboard shortcuts that would be cumbersome to redo, and most importantly setting up from scratch all my plugins.
Or I can just leave it as is (LOL). I don't mind re-doing the workspace and the general preferences, it's the keyboard shortcuts that would be cumbersome to redo, and most importantly setting up from scratch all my plugins.
Good Unofficial PaintShop Pro Tutorials: Creation Cassel • Make Shop Pro • HEC Image Editing • LeviFiction PSP Basics
(plus my own Gimp & Stuff)
(plus my own Gimp & Stuff)
-
Kathy_9
- Site Admin
- Posts: 2896
- Joined: Tue Nov 30, 2010 12:44 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- processor: 8th Generation Intel Core i7 8700 3 20 GHz
- ram: 16GB
- Video Card: NVIDIA GeForce RTX 2060 [6 GB GDDR6 dedicated]
- sound_card: NVIDIA High Definition Audio
- Hard_Drive_Capacity: 2TB
- Monitor/Display Make & Model: HP EliteDisplay E243m 23.8-inch
- Corel programs: PSPX2 ~2023; Painter 2018~23
- Location: USA
- Contact:
Re: Can we add item separators in menus?
You could try File - Preferences - Reset Preferences and be selective about what you reset to see if that helps.
PSPX9 | PSP2020 | PSP2021| PSP2022 | PSP2023 & PhotoMirage installed; PSPX | PSPX2 thru PSP2019 owned but not installed
http://www.flickr.com/photos/37153430@N03/
http://www.flickr.com/photos/37153430@N03/
Re: Can we add item separators in menus?
Thank you Kathy, that was a good idea! Though it didn't work.
On a side note, I noticed that "Reset workspace to default configuration" is always disabled in my case no matter whether I have loaded a custom workspace or not. This screenshot is with a custom workspace loaded: http://prntscr.com/ti4qe7 (not sure if it is just me or a PSP2020 bug related to the loss of custom shortcuts... in X7, the option is enabled as it is supposed to be).
I also found the name of those dummy toolbars in the Windows registry (vie regedit) but I was too tired to do any further research.
Anyway, I decided to leave it like that for now, since it doesn't seem to affect any other functionality of the program.
Thanks again!
On a side note, I noticed that "Reset workspace to default configuration" is always disabled in my case no matter whether I have loaded a custom workspace or not. This screenshot is with a custom workspace loaded: http://prntscr.com/ti4qe7 (not sure if it is just me or a PSP2020 bug related to the loss of custom shortcuts... in X7, the option is enabled as it is supposed to be).
I also found the name of those dummy toolbars in the Windows registry (vie regedit) but I was too tired to do any further research.
Anyway, I decided to leave it like that for now, since it doesn't seem to affect any other functionality of the program.
Thanks again!
Good Unofficial PaintShop Pro Tutorials: Creation Cassel • Make Shop Pro • HEC Image Editing • LeviFiction PSP Basics
(plus my own Gimp & Stuff)
(plus my own Gimp & Stuff)
-
Kathy_9
- Site Admin
- Posts: 2896
- Joined: Tue Nov 30, 2010 12:44 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- processor: 8th Generation Intel Core i7 8700 3 20 GHz
- ram: 16GB
- Video Card: NVIDIA GeForce RTX 2060 [6 GB GDDR6 dedicated]
- sound_card: NVIDIA High Definition Audio
- Hard_Drive_Capacity: 2TB
- Monitor/Display Make & Model: HP EliteDisplay E243m 23.8-inch
- Corel programs: PSPX2 ~2023; Painter 2018~23
- Location: USA
- Contact:
Re: Can we add item separators in menus?
I see the same as you (reset to default is grayed out) when in a custom workspace but when I switch to the default workspace all options are available.
PSPX9 | PSP2020 | PSP2021| PSP2022 | PSP2023 & PhotoMirage installed; PSPX | PSPX2 thru PSP2019 owned but not installed
http://www.flickr.com/photos/37153430@N03/
http://www.flickr.com/photos/37153430@N03/
Re: Can we add item separators in menus?
Oh, true! I just tested again, and it is exactly like you said Kathy! (weird, I thought I had tested with the default workspace too).
It is kinda counter-intuitive though, isn't it? LOL
It is kinda counter-intuitive though, isn't it? LOL
Good Unofficial PaintShop Pro Tutorials: Creation Cassel • Make Shop Pro • HEC Image Editing • LeviFiction PSP Basics
(plus my own Gimp & Stuff)
(plus my own Gimp & Stuff)
