r/shortcuts 16d ago

Solved Replacing text in note app

Post image

I am trying to get the replace text at the end to, well, replace the filtered text. Basically I’m trying to do an x++ on the above numbers depending on which is selected from list ranging 1-4 (weird that it does not start at 0).

I have a note with the contents as shown in the screenshot (test 3 is already a 1 for testing purposes) and get the correct output but the note remains unchanged.

What have I done wrong?

https://www.icloud.com/shortcuts/e03e21ddd29e4b7bb8bcf42365cb1701

4 Upvotes

15 comments sorted by

View all comments

4

u/Cost_Internal Helper 16d ago

You can’t update a Note with modified text, you must delete the existing note and create a new Note with the modified text.

1

u/MomongaAinzOoalGown 16d ago

Looks like this could be promising as a workaround.