args BBar static hwnd = win.handle("c=TTOTAL_CMD") static Path = file.folder(win.exepath(hwnd)) static VB = Path ++ "\vertical.bar" static VK = Path ++ "\vertical.bak" local Success if(BBar == "|" || Shift) do if(win.sendmessage(hwnd, 0x400+50, 29, 0)) win.sendmessage(hwnd, 0x400+51, 2944, 0) Success = file.copy(VK, VB) if(Success) win.sendmessage(hwnd, 0x400+51, 2944, 0) quit endif Success = 1 if(win.sendmessage(hwnd, 0x400+50, 29, 0)) win.sendmessage(hwnd, 0x400+51, 2944, 0) wait.for(not win.sendmessage(hwnd, 0x400+50, 29, 0)) if(not validpath(BBar)) BBar = ifelse(BBar, Path ++ "\" ++ BBar, .ButtonBarTools("b")) if(not validpath(VK)) Success = file.copy(VB, VK) if(Success) Success = file.copy(BBar, VB) if(Success) win.sendmessage(hwnd, 0x400+51, 2944, 0) wait.for(500, win.sendmessage(hwnd, 0x400+50, 29, 0))