title: Update a note in the Notes application using AppleScript
body: <p>I try this code, but it removes the title of the note! How to leave a note's title?</p>
  
  <pre><code>tell application "Notes"
      tell account "iCloud"
          tell folder "Category"
              set body of note "Test Post" to "reset the body text"
          end tell
      end tell
  end tell
  </code></pre>