Stuck in a loop

Hi there, I’ve created a search and replace slice patch but got myself into a loop.

I want to search for a slice in the Original Spread and replace it with a new number, this then gives me a New Spread with the search and replace complete.

However, once this is done I then want the Original spread to be updated to the New Spread so that the whole thing can continue indefinitely based on the last change.

Sorry I’m relatively new so I’m probably missing something obvious.

SliceSearchAndReplace2.v4p (7.6 kB)

this is a non trivial task, you have to use a FrameDelay (Animation). read more at: creating-feedback-loops and see patch:

SliceSearchAndReplace2.v4p (12.8 kB)

Great, that makes perfect sense, thanks tonfilm.