If an ETC sends a signal to where the star is now, then by the time the light reaches it the star will have moved on. So the transmitting civilization also needs accurate information about the velocities of the target stars. Gathering information about other planetary systems and the precise location and velocity of stars isn’t easy, but neither is it impossible.