How to link two frames when they are on different pages? The classical methods were useless

Here we have some frames divided in columns and between some columns we need to insert new colours and preserve the order (the white one box will be a new colour). The orange colour will jump to the next page. That it's the point, not shown here.
But it has not been possible to join the frames: One way is to touch the outport of one frame and connect it to the same port of the second frame but when taking that icon to the new frame it doesn't show it because ID cannot apparently select elements in different pages.
Another way is to take the loaded cursor and place it on top of the frame but in these frames the contact does not occur and it places a new text box, as seen in the picture (any out port is visible):

What is required is this. Connect A with B. Center threads are already created.

We couln't use a thread stories type of script because it threads all the stories and not being able to select two stories on different pages (by default?) the script becomes useless as we have text frames.
