This scheme should work. The relay connection has to be a NO (Normally open) contact, and I don't know how those particular relays are arranged. I am assuming that the lower two connections on the relay are the coil.
The switches have to open when the window should stop, one at the top and one at the bottom.
As I have no idea which way round the power is to raise, nor which switch is which, the diode direction is a total guess, but one will have to be each way round as shown.
The idea is that in one direction, one diode allow current to the relay coil if the switch is closed. The relay works with the coil powered either way round.
(The wire to the middle connection on the lower switch crosses over the lower wire and joins the upper wire. The wire to the right connection on the upper switch crosses over two wires and only goes to the upper diode)