Retrieving cursor position in the same track

Hi, is there a way to retrieve selection/cursor position not only horizontally but also vertically? I mean, when I use “retrieve selection” in a different track other than the original track where I Stored the selection, the command doesn’t select the stored selection in the original track. Is there a way to create a new command for this maybe using Nyquist?
Thank you very much for your answer,
Juan Carlos

It’s possible with Nyquist, but not simple. The method would be much like this:

Thank you so much, I’ll try to do it,
Thanks again,
Juan Carlos