get parent windows text