in reply to Get the line number of current cursor position

I don't think windows have a concept of lines and columns. On the other hand, GetCaretPos can get you its pixel address. It's accessible via Win32::GuiTest according to the change log in the pod. (You might also be interested in ClientToScreen.)