def GetMarkedPos(slot):
    curloc = idaapi.curloc()
    intp = idaapi.int_pointer()
    intp.assign(slot)
    return curloc.markedpos(intp)
Get marked position
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetMarkedPos