I want to keep e.g. folder context menus as minimal as possible.
I will most probably never use some of the default built-in context menus (e.g. "Select").
How can I get rid of them?
When I select "New files" there is a textbox where I can enter filenames of the files to be created.
Unfortunately XYplorer remembers the last name.
How can I auto-clear the textbox after I exit the dialog/created the file(s)?
The best would be if a context menu "New File" could create one new, empty file with a default name like "New file" like in Windows Explorer
How to remove certain folder context menus? And auto-clear "New files" textbox?
-
pstein
- Posts: 71
- Joined: 11 Dec 2021 21:11
-
RalphM
- Posts: 2143
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: How to remove certain folder context menus? And auto-clear "New files" textbox?
Read up on "New Items" in the help file and create your own list of new items you would like to create at any given time (quite flexible, so I assume it should be able to fulfill your needs).
Ralph 
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
-
pstein
- Posts: 71
- Joined: 11 Dec 2021 21:11
Re: How to remove certain folder context menus? And auto-clear "New files" textbox?
@RalphM:
I am a bit confused. According to your suggestion I searched in help file but did not found a solution on how to remove certain exiting context menus.
Have a look at the attached snapshot.
How do I remove the red marked context menus like "Select", "New Path"......
I expected to be able to remove them via checkbox in "FileList".
But there is nothing suitable to disable.
How does it work?
I am a bit confused. According to your suggestion I searched in help file but did not found a solution on how to remove certain exiting context menus.
Have a look at the attached snapshot.
How do I remove the red marked context menus like "Select", "New Path"......
I expected to be able to remove them via checkbox in "FileList".
But there is nothing suitable to disable.
How does it work?
To see the attached files, you need to log into the forum.
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: How to remove certain folder context menus? And auto-clear "New files" textbox?
Simple: You can't. They are hardcoded
One of my scripts helped you out? Please donate via Paypal
-
RalphM
- Posts: 2143
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: How to remove certain folder context menus? And auto-clear "New files" textbox?
My suggestion was offering a way to tailor your needs for "New Items" to a certain extent, not to edit the context menu.
If what you read in the help file about "New Items" didn't trigger any ideas that might be useful in the future then I'm sorry I wasted your time.
Ralph 
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
XYplorer Beta Club