local hwnd = win.handle("c=TTOTAL_CMD") local Panel = ifelse(tc.active(hwnd) == "left", 8, 7) local TMLB = childwin.handle(hwnd, "TMyListBox", Panel) local Current = win.sendmessage(TMLB, 0x0188, 0, 0) local Counter = win.sendmessage(TMLB, 0x018B, 0, 0) - 1 osd.show(Current ++ " / " ++ Counter, "3000", "30", "Arial", "-1", "255 000 000") osd.hide