Celebrating a Regular Expression win using ChatGPT! Expecially given I'd been doing this with UI scripting previously.
Below is a link to ChatGPT exchange resulting in a Regular Expression that worked in a macro.
And here's the resulting macro that takes the name of the selected Finder item (folder in my case), copies the name to the clipboard, edits the name, creates a new folder at the same location, and finally pastes in the new folder name:
I'm thrilled when you provide Keyboard Maestro native solutions and the dialogue behind it. You are committed to your mission and I'm all for it. I think it's hilarious because when Regex comes up, I'm like Rob is coming! (like Omar on HBO's - The Wire). I appreciate that you provide significant context and meaning behind your opinion. I know you aren't against regex, when it's needed, but you make the case that it is not needed over 85% of the time. Thank you for that!
Yes, taking the time to share your thinking makes available a vertical dimension that only show up in the dialogues here in the forum. I’ve got a new inroad for dealing with strings and benefit from other shares even when I’m only able to glean bits from each share. Thanks again!