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 FolderItem = FV.FolderItem; | |
if (api.GetAttributesOf(FolderItem, SFGAO_CANRENAME)) { | |
const s = api.GetDisplayNameOf(FolderItem, SHGDN_FOREDITING | SHGDN_INFOLDER); | |
InputDialog(FolderItem.Path, s, function (r) { | |
if (/[\\\/:,;\*\?"<>\|]/.test(r)) { | |
MessageBox(api.LoadString(hShell32, 4109), null, MB_ICONSTOP | MB_OK); | |
return; | |
} | |
if ("string" === typeof r && s != r) { | |
try { |
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
if (Ctrl.GetFocusedItem < Ctrl.ItemCount(SVGIO_ALLVIEW) - 1) { | |
return false; | |
} | |
wsh.SendKeys("{HOME}"); |
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
if (Ctrl.GetFocusedItem) { | |
return false; | |
} | |
wsh.SendKeys("{END}"); |
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 FV = GetFolderView(Ctrl, pt); | |
NavigateFV(Sync.SwitchPane.NextFV(FV), FV, SBSP_SAMEBROWSER); |
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); | |
var FV2 = Sync.SwitchPane.NextFV(Ctrl); | |
FV.Parent.Move(FV.Parent.SelectedIndex, FV2.Parent.Count, FV2.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
var FV = GetFolderView(Ctrl, pt); | |
var Selected = FV.SelectedItems(); | |
if (Selected && Selected.Count) { | |
var DropTarget = api.DropTarget("c:\\test"); | |
DropTarget.Drop(Selected, MK_LBUTTON | MK_SHIFT, pt, Selected.pdwEffect); | |
} |
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 Items = api.OleGetClipboard(); | |
if (Items.Count) { | |
for (var i = 0; i < Items.Count; i++) { | |
Navigate(Items.Item(i), SBSP_NEWBROWSER); | |
} | |
return; | |
} | |
Items = String(clipboardData.getData("text")).split(/[\r\n]+/); | |
for (var i in Items) { | |
if (/^"?[A-Z]:\\|^"?\\\\[A-Z]|^"?::{/i.test(Items[i])) { |
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); | |
var Selected = FV.SelectedItems(); | |
if (Selected && Selected.Count) { | |
var DropTarget = api.DropTarget("c:\\test"); | |
DropTarget.Drop(Selected, MK_LBUTTON | MK_CONTROL, pt, Selected.pdwEffect); | |
} |
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 TC = FV.Parent; | |
for (let i = 0; i < TC.length; i++) { | |
NavigateFV(Sync.SwitchPane.NextFV(TC[i]), TC[i].History, SBSP_NEWBROWSER); | |
} |
NewerOlder