-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Transform (lowercase, Titlecase, UPPERCASE) Feature #907
Comments
Just a clarification: I am not sure this should be a part of a separate window within PowerRename. I believe this should be available on the Right-click context menu, from where the various options (e.g. For inspiration check out what is possible in macOS: |
I found you looking for a solution as well. I guess I will have to buckle down and write a Python utility to crawl my music directory to fix ALL CAPS, all lower and other non-title formats. I already did so to fix all the CD rippers that prepended every title with the track-number. The header already has a place for track number, and the prepended track number makes it impossible to search for duplicated songs. My routine only does one directory at a time, so I will have to fix that for double duty. ;) Python: str.title() will fix it right up. |
Hi @RonPi, at the end I found an old free software called ReCase: https://bluefive.pairsite.com/recase.htm. Your solution might be the way to go, I am happy to test your python utilities if you are willing to share :-) |
I already have most of the work done for a previous project. All I have to do is str.title() each one. That capitalizes each word in the title.
From: DOFfactory <[email protected]>
Sent: Friday, May 1, 2020 1:13 AM
To: microsoft/PowerToys <[email protected]>
Cc: RonPi <[email protected]>; Mention <[email protected]>
Subject: Re: [microsoft/PowerToys] Transform (lowercase, Titlecase, UPPERCASE) Feature (#907)
Hi @RonPi <https://github.com/RonPi> , at the end I found an old free software called ReCase: https://bluefive.pairsite.com/recase.htm. Your solution might be the way to go, I am happy to test your python utilities if you are willing to share :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#907 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABMMQ4JQDMYD6YQKPQWSFM3RPJ77JANCNFSM4JY24A5A> . <https://github.com/notifications/beacon/ABMMQ4JWSLJZ44GBIN6KI6DRPJ77JA5CNFSM4JY24A5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEULXKUQ.gif>
|
If I understand you correctly then you do not have right-click menu extension then, but you run a python script on the folder then. Am I correct? |
I have a music drive, and I put the root of it’s directory (or whatever part of it I wish to deal with, and a routine I purloined and added to my program builds an array of the full paths to all the files. My program renames all of them in place.
I just found out at least MP3 files in all upper case I can’t even rename with PowerShell manually! I also can’t change the case in windows. IF it renamed it to a different name THEN to Title Case it works. In PowerShell, it appears to work, but LS shows it is still all UPPERCASE. In Windows it appears to work ‘til I hit return! I have been using Windows since I abandoned 3.0 as it was really bad and a task switcher worked better. 3.1 was the 1st reasonable replacement. (I guess NEVER buy the 1st release!)
Anyway, my program renames each file to IndexT<n> where n is the index number of the file in the array of music filenames. THEN renames it to what I wanted. (using os.rename()) not just in memory, but actually renaming file so windows can see it. I no longer let Windows Media Player to bugger my music files (due to them deciding every file needs the track number prepended. (The track is already in the metadata!)
Like this.
“OLD NAME.mp3” -> IntexT101.mp3-> “New Name.mp3”
I had already done this to get rid of the track numbers, to make it EZer to fine duplicates. I have purchased a lot of Best Of albums in the past, and the like to sell the same songs on as many albums as they can get away with. Out of 6,888 tracks, I am betting I have 20% of duplicates. (Same file size and play length.)
From: DOFfactory <[email protected]>
Sent: Saturday, May 2, 2020 11:12 AM
To: microsoft/PowerToys <[email protected]>
Cc: RonPi <[email protected]>; Mention <[email protected]>
Subject: Re: [microsoft/PowerToys] Transform (lowercase, Titlecase, UPPERCASE) Feature (#907)
If I understand you correctly then you do not have right-click menu extension then, but you run a python script on the folder then. Am I correct?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#907 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABMMQ4OXWP5YSISML7GJHXLRPRO5RANCNFSM4JY24A5A> . <https://github.com/notifications/beacon/ABMMQ4K6NDLCGJMY3JGX27DRPRO5RA5CNFSM4JY24A5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEURB6MQ.gif>
|
Thanks for the explanation. Well, then this ticket is still valid as it would be great to have this available from the context menu applicable to any text selected. |
This is possibly a duplicate of #687. What do you think @enricogior ? |
@muratakburak Not necessarily. The idea behind this is to be able to change the case of any selected text within the system that is editable, i.e. not only filenames. |
@DOFfactory Oops, Thanks for the clarification. |
Changed the label to better categorize the issue. |
Yes I agree this is a much needed feature. I use this for now: |
In general, having some sort of Text Tools powertoy could be really useful. Like PowerToys Run it could have a bunch of smaller features that can be turned on/off and customized. Another example of a Text Tool would be #21231 |
I was about to suggest the same thing, I wish if some of the Dev make us an Alternative to SnipDo that is based on PowerToys and that support add-ons or scripts that everyone can toggle, download to fit their requirements, such things are tremendous time saver and amazing productivity addition to almost every user, it would be great if it works in similar fashion to SnipDo but more robust and versatile... I can make a list of tools and contribute to the scripts later ( I wish if I have the skills and knowledge to make it myself but unfortunately I don't ) Right now PowerToys add some new features but they are slowly implanted since but with some scripting support that allows interaction with content and UI then it could be easy for many to make all sort of tiny tools that exists already but requires the installation of several freewares or visiting many websites (and having bookmark list well maintained)... I cannot stress enough how this can be time saver, even to transform a text to a hashtag it shouldn't take more than selecting the text and having a bubble to do that by replacing spaces or eliminating them (matter of taste) and adding the # at the begging of the sentence... Notepad++ can offer a lot of inspiration of how many tiny tools, script that can be created, but since they can be a lot then having the ability to organize them in a menu with representative icons (in same Windows 11 design) would be great. Imagine a bubble who dynamically change if you select a text then it will show several icons to transform the text organized in groups and categories (that end users can specify themselves) ... if it is a URL then another menu would show up... SnipDo is great in term of what it does, but it is paid, closed source and maintained by only one person so it wouldn't be many productive people would install on their workstation. |
I've made a program called QuixCase that allows you easily switch between Sentence Case, UPPERCASE, lowercase, Capital Each Word, and even tOGGLE cASE. |
A system-wide keyboard shortcut to switch between lowercase and UPPERCASE would eliminate the need for online tools, reducing the risk of data leaks. To extend the idea further, extensible PowerText like PowerRun (as previously mentioned) might cover lots of use cases: in-place text changes via shortcut keys, clipboard value toggling, or whatnot. |
I would suggest you use this until MS makes this such rudimentary feature available |
Or for FREE:
or
|
It would be very nice if it could also provide more text transformations than just casing, including custom ones. |
In a few days, it will be 5 years since this feature request was first made. Very sad to see no progress being made despite numerous duplicate issues indicating a high level of demand from users. |
Made duplicate #36820 . Thought I'd add my suggested replacements/text transforms to this convo. In my suggestion, pressing the shortcut would open a menu that lets us transform the selected text. Since there can be so many kinds of replacements/transforms that can be done, that seems like a more manageable solution than having a shortcut for each one. Having the ability to create shortcuts would be great though, since I'm sure some users use only a few A LOT of times. Here is a list of modifications/enhancements/transforms that I thought of: Sentence case: capitalize the first letter of the first word
And I'm sure there could be many, many more, especially for coders. EDIT: Oh god, it's been such a big feature missing for so long that I just saw that almost 2.5 years ago I'd already made a feature suggestion to the same effect (with fewer functionalities tho)..... |
I'm not sure if this is the appropriate place for this but I could have swore PowerToys already had this feature and I thought I was going crazy when I couldn't find it. After searching for a while I realized I had a separate program called "DevToys" installed. It is in the Microsoft Store. It has some of the features talked about here for anyone looking for a solution. For example of the features mentioned by @unrealed in the post above me, DevToys has solutions for Sentence case, Title Case, camelCase, PascalCase (Programming Case above), Space Replacer can be achieved by first going to camel or pascal case, copying the text, clicking clear, then pasting and clicking "lower case". These are found under the "Text">"Inspector & Case Converter" section. It doesn't appear to have the cASE iNVERTER, Encircler, or Caesar Cypher. I am only mentioning it here because it seems like it's something people want and I spent way too long trying to find it in PowerToys so other people may find it helpful. I am not associated with DevToys in anyway. They have a version 2.0 available which I just downloaded the new version is called DevToys-Preview in the Microsoft Store where DevToys in the Microsoft store appears to be version "1.X". The features I mentioned above are found under "Text">"Analyzer & Utilities" in DevToys-Preview. |
Good find! It does seem like DevToys is focused on tools where you paste text into their program. |
|
Summary of the new feature/enhancement
As there is a PowerRenamer feature, there should be a PowerTransform feature as well. PowerTransform should help quickly rename any text throughout the W10 ecosystem, and especially files, from
lowercase
toTitlecase
orUPPERCASE
.It should be available as a Right click context menu. This is an absolutely missing feature in any Windows OS, and the third party solutions are not great.
Please leave a like if you would want to have this feature implemented.
The text was updated successfully, but these errors were encountered: