Page 1 of 2
Context menu for a multiple files.
Posted: 18 Jul 2022 14:52
by Theodecarvalho
I´m searching for a specific filetype with a bunch of folders. When I right click ONE item, it appears windows context menu (with an app that I need inside).
When I select multiple files, it appears XYplorer custom menu and the app that I need, dont.
I searched in forum and help... I couldn´t solve this...
Re: Context menu for a multiple files.
Posted: 18 Jul 2022 15:03
by Horst
How many entries you are selecting ?
There is a Windows limit of how many items you can select and get a context menu.
This limit can be increased in the registry.
Re: Context menu for a multiple files.
Posted: 18 Jul 2022 15:21
by admin
The shell context menu will only show for multiple items if they are in the same location.
Re: Context menu for a multiple files.
Posted: 18 Jul 2022 16:03
by Theodecarvalho
Horst wrote: ↑18 Jul 2022 15:03
How many entries you are selecting ?
There is a Windows limit of how many items you can select and get a context menu.
This limit can be increased in the registry.
2 or more will cause this.
admin wrote: ↑18 Jul 2022 15:21
The shell context menu will only show for multiple items if they are in the same location.
They are not in same folder. It´s my files in different folders. I´m serching to make them the same name os folder to solve the thumbnail thing with same name.
It is possible to disable XY context menu to look like windows or add my program (file menu tools) to XY menu?
Re: Context menu for a multiple files.
Posted: 18 Jul 2022 16:27
by admin
No.
What exactly do you need from "file menu tools"? XYplorer might be able to do it natively.
Re: Context menu for a multiple files.
Posted: 18 Jul 2022 16:33
by Theodecarvalho
Filemenutools is an interesting program. It can do a lot of batch actions to organize my library. I use the most:
1. Delete empty folders.
2. Unpack folder (delete all subfolders and keep everything inside the root folder)
3. Pack every file to a folder with same name (it creates one)
But, most used is:
4. Rename file to folder name, keeping extension.
Thats why all my thumbs has the same name of the folder.
Re: Context menu for a multiple files.
Posted: 18 Jul 2022 16:49
by admin
1. Can be scripted.
2. = "Flatten Folder" in XYplorer
3. Can be scripted.
4. Can be scripted.
Re: Context menu for a multiple files.
Posted: 18 Jul 2022 18:28
by Theodecarvalho
admin wrote: ↑18 Jul 2022 16:49
1. Can be scripted.
2. = "Flatten Folder" in XYplorer
3. Can be scripted.
4. Can be scripted.
Ok, but there is a lot of options, like 50. If you look into, you will get a lot of good ideas.
BTW, is there a place to study the scripts? Im interested.
Thanks.
Re: Context menu for a multiple files.
Posted: 18 Jul 2022 19:04
by Horst
Theodecarvalho wrote: ↑18 Jul 2022 18:28
admin wrote: ↑18 Jul 2022 16:49
1. Can be scripted.
2. = "Flatten Folder" in XYplorer
3. Can be scripted.
4. Can be scripted.
Ok, but there is a lot of options, like 50. If you look into, you will get a lot of good ideas.
BTW, is there a place to study the scripts? Im interested.
Thanks.
I learned a lot by reading the scripts and descriptions found in the Script Exchange sub-forum
viewforum.php?f=7
Re: Context menu for a multiple files.
Posted: 19 Jul 2022 08:42
by admin
Theodecarvalho wrote: ↑18 Jul 2022 16:33
But, most used is:
4. Rename file to folder name, keeping extension.
Thats why all my thumbs has the same name of the folder.
To give you a little jump start:
-
Tools | Customize File Associations...
- add this line:
|"Rename to folder name" \;*>::rename , '<folder>'
Now select a file and click
File | Open with... or click the
Open With toolbar button, and select "Rename to folder name" from the popup menu. The file will be renamed to the folder name. Also works with multiple files in different folders.
Re: Context menu for a multiple files.
Posted: 19 Jul 2022 12:53
by Theodecarvalho
admin wrote: ↑19 Jul 2022 08:42
Theodecarvalho wrote: ↑18 Jul 2022 16:33
But, most used is:
4. Rename file to folder name, keeping extension.
Thats why all my thumbs has the same name of the folder.
To give you a little jump start:
-
Tools | Customize File Associations...
- add this line:
|"Rename to folder name" \;*>::rename , '<folder>'
Now select a file and click
File | Open with... or click the
Open With toolbar button, and select "Rename to folder name" from the popup menu. The file will be renamed to the folder name. Also works with multiple files in different folders.
Thanks. It works. I mean... Almost. When I select several files, "open with" wont work. I need to do it by file -> Open with... But its the least of my problems.
Will be nice if it have in section rename special.
Filemenutools is crashing when Im using with XYplorer. Several times, when I got into menu, XY closes. That´s why is nice to have it nativally.
Can I show some stuff that I use the most in FMT?
Re: Context menu for a multiple files.
Posted: 19 Jul 2022 13:49
by admin
"open with" wont work.
You mean the toolbar button? What happens?
Sure, show your stuff.
Re: Context menu for a multiple files.
Posted: 19 Jul 2022 20:02
by Theodecarvalho
admin wrote: ↑19 Jul 2022 13:49
"open with" wont work.
You mean the toolbar button? What happens?
Sure, show your stuff.
No, context menu. If I select more than one, Open With (Abrir com) doesn´t appear. But I think thats Windows issue.
01.jpg
So, I gotta go in File, Open with. And than the script appers. Nothing crazy, jut a couple of clicks (or memorize the shortcut)
02.jpg
My workflow with a lot of files, depends a lot of Filemenutools, here is the screenshot. Is there some commands for files and some for folders. I´ll put screenshot of both:
Files:
03.jpg
Folders:
04.jpg
On red, my actions. Iin blue, default actions from developer.
What I use the most (and hopping that you can agree in XY)
Default actions:
Delete empty folders -> Search tree for empty and delete them.
Organize into folders -> Create a folder with same name than file and moves in there. What is good? If I have different extensions, all goes to same folder and separate all for me.
Unpack folder -> remove all subtree and collect all files to root folder
Pack to folder -> Creates a folder and move selected files to this folder.
Join Folder -> Selfexplanatory

Renonear para a pasta (Rename to folder) -> This one you already solved for me
My batch:
Unpack ALL -> Execute "Unpack Folder" to a lot of folders,
Winrar Extract para folder -> Extract a bunch of zip or rar files each one for one folder with same name. I use combined with unpack all right on.[/b][/b]
Re: Context menu for a multiple files.
Posted: 20 Jul 2022 08:47
by admin
Using the Open With menu was just one way to do it. In XYplorer there are many ways to run a script. For a one-click solution I would recommend the Catalog (the Location field here also supports scripts, here marked by a prefixed "::"):
2022-07-20_084419.png
2022-07-20_084516.png
Re: Context menu for a multiple files.
Posted: 20 Jul 2022 08:48
by admin
Concerning all those file actions: They all can be scripted in XYplorer. Check out the Help file...
