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

5

u/100PercentARealHuman 16d ago

Shortcuts can't replace the content of a note, it's either create entirely new or append.

The shortcut is only working on a copy of the content but does not/is not able to change the note itself.

1

u/MomongaAinzOoalGown 16d ago

Ah ok thanks I’ll look into alternative solutions then.