Removing "New Text File" Item From Context Menu

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
fermat
Posts: 5
Joined: 10 Sep 2022 13:42

Removing "New Text File" Item From Context Menu

Post by fermat »

Hello. I am customizing the XYplorer app. I want to remove the "New Text File" item that I don't use in the right-click menu. How can I do that?
Thanks.
1.jpg
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 66102
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Removing "New Text File" Item From Context Menu

Post by admin »

Not possible I'm afraid.

fermat
Posts: 5
Joined: 10 Sep 2022 13:42

Re: Removing "New Text File" Item From Context Menu

Post by fermat »

Thank you for your reply.
Is it possible to add such a feature in the future?

admin
Site Admin
Posts: 66102
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Removing "New Text File" Item From Context Menu

Post by admin »

For the others these commands seem to be okay. :)

fermat
Posts: 5
Joined: 10 Sep 2022 13:42

Re: Removing "New Text File" Item From Context Menu

Post by fermat »

When I'm not using my car, I always park it in the garage. :D

admin
Site Admin
Posts: 66102
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Removing "New Text File" Item From Context Menu

Post by admin »

Which cars do you use?

highend
Posts: 14926
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Removing "New Text File" Item From Context Menu

Post by highend »

My EQS 580 AMG doesn't fit into my garage :blackstorm:
One of my scripts helped you out? Please donate via Paypal

fermat
Posts: 5
Joined: 10 Sep 2022 13:42

Re: Removing "New Text File" Item From Context Menu

Post by fermat »

I use my own car throughout the year. Sometimes I prefer the bus.

Similarly in XYplorer that shortcut may be needed sometimes; but I usually choose to use it from the menu.

admin
Site Admin
Posts: 66102
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Removing "New Text File" Item From Context Menu

Post by admin »

I was speaking metaphorically. Which items of that menu do you use? Because there are ways to build your own menu (via Custom Event Actions).

fermat
Posts: 5
Joined: 10 Sep 2022 13:42

Re: Removing "New Text File" Item From Context Menu

Post by fermat »

I get it; I use almost all except "new text file".
I don't need many commands in my menu.
Only basic commands/items.
(So my car fits in the garage. :kidding: )

EDİT:
I didn't see that the script operations were this detailed.
XYplorer is really detailed and excellent software.
I've looked through the forum and Help File.
I couldn't find an example the way I wanted.
Can you share a simple context menu script file/code please?

DoraTheXyplorer
Posts: 2
Joined: 11 Feb 2023 19:48

Re: Removing "New Text File" Item From Context Menu

Post by DoraTheXyplorer »

Sorry to necro this thread but I agree with the poster though for a different reason. Ctrl-Shift-N in the standard Windows file explorer creates a new directory. As a Windows user of over 30 years and someone that is primarily a keyboard user, I've built up some muscle memory for this command. XY is great and its customizability is amazing but it's a bit surprising that the keyboard shortcut options don't extend to the context menu.

highend
Posts: 14926
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Removing "New Text File" Item From Context Menu

Post by highend »

?

Assign Ctrl+Shift+N for the new folder command and when you invoke the right-click context menu guess what is displayed as the keyboard shortcut for that menu entry?
One of my scripts helped you out? Please donate via Paypal

DoraTheXyplorer
Posts: 2
Joined: 11 Feb 2023 19:48

Re: Removing "New Text File" Item From Context Menu

Post by DoraTheXyplorer »

Thanks! I missed that in the shortcuts since it wasn't clear that there were other categories.

Post Reply