-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to implement context menu for the same type of files? #26
Comments
Yes, it is possible already. You just need to name the folder containing the handler for your image files with a special name that indicates all the extensions the image file can have. In your case, the folder name should be Apologies for not reflecting it in the documentation. I just overlooked it when was preparing the documentation. |
I tried setting the folder name to [jpg,tif,png] but this resulted in the context menu being available for all files. |
Let me check. You can share your config folder content here and I can repeat a local test. |
Your understanding is correct, but I didn't express it clearly. |
I found the problem, I reinstalled shell-x and restarted the explorer, and now it works normally. Thanks for your reply. |
At the same time, I discovered a bug, that is, when setting the folder name to [png], the context menu does not take effect for files with the suffix ".PNG". You need to configure a name in uppercase format at the same time, such as [png, PNG] for normal use. |
Thank you. I will lcheck. |
Ah, I see the problem. For a single file extension, you need to use the file extension as is:
The only allowed content between square brackets is: Thus in your case you need to name your folder Nevertheless, I will consider allowing a single extension in square brackets option in the next release. |
…les? - Added support for single item multipart extension list as config folder name (e.g. `[png]` will be treated the same way as `png`) - Added 'Naming convention' section in the CLI help content.
To make it easier I have added the corresponding section to the CLI help and this site readme (https://github.com/oleg-shilo/shell-x/blob/master/README.md#naming-convention) |
* #26: Is it possible to implement context menu for the same type of files? - Added support for single item multipart extension list as config folder name (e.g. `[png]` will be treated the same way as `png`) - Added 'Naming convention' section in the CLI help content.
I tested it in Windows 11 and it works, but not in Windows 10. |
You are right. Indeed somehow it is case-sensitive. It's not your computer problem but the problem with the way I will start working on it right away. Thank you for reporting it. |
- Issue #26: Is it possible to implement context menu for the same type of files?
Done. It will take a little time before it hits Chocolatey |
For example, if you configure an [Image] folder, you can use the context menu as long as it is an image format file.
Or can a folder support multiple suffixes at the same time? For example, if you configure the "jpg/tif/png" folder, files in *.jpg *.tif *.png format can use the context menu.
The text was updated successfully, but these errors were encountered: