This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Selected = GetSelectedArray(Ctrl, pt, true).shift(); | |
if (Selected && Selected.Count) { | |
for (let i = Selected.Count; i-- > 0;) { | |
const path = Selected.Item(i).Path; | |
const s = GetNum(Sync.Badge.DB.Get(path)) + 1; | |
if (s < 6) { | |
Sync.Badge.Set(path, s); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.locked { | |
background-color: #ffff00; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AddEvent("ColumnClick", function (Ctrl, iItem) { | |
var cColumns = api.CommandLineToArgv(Ctrl.Columns(1)); | |
var s = cColumns[iItem * 2]; | |
if (s == "System.DateModified" && Ctrl.SortColumn(1) !== "System.DateModified" && api.GetKeyState(VK_SHIFT) >= 0) { | |
Ctrl.SortColumn = "System.DateModified"; | |
return S_OK; | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FV = GetFolderView(Ctrl, pt); | |
FV.Navigate(null, SBSP_PARENT); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FV.TreeView.Focus(); | |
return S_OK; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Selected = FV.SelectedItems(); | |
if (Selected.Count == 0) { | |
return; | |
} | |
var oExec = wsh.Exec("C:\\bin\\tanzip\\TanZIP.exe"); | |
var hwnd = GethwndFromPid(oExec.ProcessID); | |
api.PostMessage(hwnd, WM_DROPFILES, Selected .hDrop, 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FV.CurrentViewMode = FV.CurrentViewMode == FVM_LIST ? FVM_DETAILS : FVM_LIST; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var FV = GetFolderView(Ctrl, pt); | |
FV.IconSize = 19; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var TC = te.Ctrl(CTRL_TC); | |
if (TC && TC.SelectedIndex < TC.Count - 1) { | |
TC.Move(TC.SelectedIndex, TC.SelectedIndex + 1); | |
return S_OK; | |
} | |
return S_FALSE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var TC = te.Ctrl(CTRL_TC); | |
if (TC && TC.SelectedIndex > 0) { | |
TC.Move(TC.SelectedIndex, TC.SelectedIndex - 1); | |
return S_OK; | |
} | |
return S_FALSE; |