

To use the entire set of Selected Notes, use set selectedNotes to get selection These are the lines identifying the notes being updated > is there a way to get it to apply to all of the notes in a specific folder or with a specific tag? Give a man a fish and you feed him for a day teach a man to fish and you feed him for a lifetime Take it slow don't address the entire script in one pass just one section at a time You write/update the script if you run into issues, I'll give advice I have a different style in providing assistance. Set AppleScript's text item delimiters to ", " ", plainText ) return plainText Set oldDelims to AppleScript's text item delimiters Set theText to HTML content of theNote - retrieve the note contents Set theNote to item 1 of ( get selection ) I use AppleScript's text delimiters to parse the contents into "lines",Įdited Added sample code, extract note content, parse, update, unparse, overwrite note contents Keeping this simple, notice that each "line" begins with

However, now I would like to bulk rename all of the notes in this way: I would like to move the current title (the text on the first line of the note) to become the second line of each note, and move the second line of each note to become the title.
