global Config = "D:/Winnt/wincmd.ini" global TT = cl.Create("Tabs", 1) local hwnd = win.handle("c=TTOTAL_CMD") local Panel = ifelse(tc.active(hwnd) == "left", 1, 2) win.postmessage(hwnd, 0x400+51, 524, 0) win.sendmessage(hwnd, 0x400+51, 580, 0) local i, j, Target, Num if(runfile.Subs\Sub_ReadTabs(tc.active(hwnd)) == 1) do win.sendmessage(hwnd, 0x400+51, 501, 0) quit endif local Str = file.readall(arg(1)) local v = vec.createfromlines(Str) if(v <= 0) do messagebox("ok error", "Vector not created", "VEC plugin error #1") quit endif for(i = 0; i < TT.Length; i++) Target = TT.GetId(i) Str = TT.GetMiddleCmd(i) if(validpath(Target) && Str == Panel) Num = Num ++ Target ++ ";" endfor Num = remove(Num, -1) win.postmessage(hwnd, 0x400+51, 501, 0) wait.for(activewindow("c=TFindFile")) Panel = win.handle("c=TFindFile") Target = childwin.handle(Panel, 22) win.settext(Target, Num)