window-get-y

long ( window-get-y long window-id)

Gets the y coordinate of the window.