Getting Ordered List Orderly With Shortcuts and AI

Authored on
Mon, 09/23/2024 - 15:39
Tags
Body

I am currently working on a website that has a couple hundred music releases. Each release has a list of songs. Unfortunately the song lists aren't formated correctly. They all have a number at the beginning and a time at the end and they aren't in a proper html ol list element.

ex: 1. song name 2:34

I need the "1." gone and the "2:34" wrapped in parenthesis for each song in each release. Shortcuts has an Ask ChatGPT action that is perfect for this scenario.

Shortcut

  1. Get Clipboard
  2. Ask ChatGPT to "Convert these song names into html <ol> and put parenthesis around the times at the end of the song name. If it has no time, ignore that step. Remove the numbers at the beginning. Give me only the <ol>: [Clipboard]"
  3. Copy AskGPT results to Clipboard

There is a few extra find/replace actions I didn't include because they are project specific. I just need to copy the list and run the shortcut and I get a nice, tidy ol list of all song names formated like this...

song name (2:34)

If you have to do a thing more than 3-4 times, there is an automation. The beauty of Shortcuts is you can make one quick, use it, and then delete it. I don't save them because creating them is great practice. Over time you start to level up your building skills.


Sidenote: I did hit a limit with ChatGPT after a while..."You've reached our limit of messages per hour. Please try again later."

Today's Albums

No time for an album today.