Is there a way to apply a single action to bulk-selected Drafts Notes?

Hi, I have several notes in my Drafts app Inbox that I want to apply a single action to that would insert a timestamp.

Currently, I can go into a single note, position my cursor someplace in the note, then in the sidebar I have an action “Insert date and time created”, and if click it, then it will insert the date and time created. But what I’d like to do is select MULTIPLE notes in the inbox, then apply that action and have it automatically insert the date-and-time-created PER NOTE, in the start of each note. Is that possible? The reason I want to do this is to have all these notes have text with the date/time created clearly IN THE text-body itself, so that I can export them and use them in a different format but with the date information clearly there. Thank you for any tips!

You can run an action on multiple notes by selecting them in the draft list, and using the “Run Action” command. Do this by:

  • On iOS, you tap “Select” to enter selection, tap on the drafts to select them, than tap the operations button next to where the select button is and “Run Action”
  • On Mac, command-click on drafts in the list to select multiple, then right-click on the list for the contextual menu > Run Action.
  • In both cases, you’ll get a dialog to select the action you want to run.

For this to do what you want, you might need to modify your action. Because in this context you can not individually select a cursor location, so the action would need to know how to place the timestamp.

1 Like

Hi thanks so much for this reply!

Is there a way to create an action that includes instruction on where to place a cursor? Thank you!

Yes, scripted actions have complete control of cursor placement, as long as you can define what the rules for that placement are.

What are the rules are using? e.g. Are you always inserting this date at the start or end of a draft? On the nth line? After a specific other text in the draft?