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 ex = { EnableShellExecuteHooks: true, Explorer: true }; | |
OpenNewProcess("addons\\shellexecutehook\\worker.js", ex, false, WINVER >= 0x600 ? "RunAs" : null); |
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(); | |
FV.Refresh(); | |
if (Selected && Selected.Count) { | |
for (var i = Selected.Count; i--;) { | |
FV.SelectItem(Selected.Item(i), SVSI_SELECT); | |
} | |
FV.SelectItem(Selected.Item(0), SVSI_SELECT | SVSI_FOCUSED); | |
} |
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); | |
if (FV) { | |
var hMenu = api.CreatePopupMenu(), hSubMenu; | |
var ContextMenu = FV.ViewMenu(); | |
if (ContextMenu) { | |
ContextMenu.QueryContextMenu(hMenu, 0, 1, 0x7fff, CMF_DEFAULTONLY); | |
var mii = api.Memory("MENUITEMINFO"); | |
mii.cbSize = mii.Size; | |
mii.fMask = MIIM_SUBMENU; | |
for (var i = 0; i < api.GetMenuItemCount(hMenu); 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); | |
if (FV) { | |
var hMenu = api.CreatePopupMenu(), hSubMenu; | |
var ContextMenu = FV.ViewMenu(); | |
if (ContextMenu) { | |
ContextMenu.QueryContextMenu(hMenu, 0, 1, 0x7fff, CMF_DEFAULTONLY); | |
var mii = api.Memory("MENUITEMINFO"); | |
mii.cbSize = mii.Size; | |
mii.fMask = MIIM_SUBMENU; | |
for (var i = 0; i < api.GetMenuItemCount(hMenu); 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
Addons.TaskTray.CreateIcon(); | |
te.CmdShow = SW_HIDE; |
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 ex = { EnableShellExecuteHooks: false, Explorer: false }; | |
OpenNewProcess("addons\\shellexecutehook\\worker.js", ex, false, WINVER >= 0x600 ? "RunAs" : null); |
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 pid1 = FV.FolderItem; | |
var Items = api.ILGetParent(pid1).GetFolder.Items(); | |
var j = -1; | |
for (var i = 0; i < Items.Count; i++) { | |
var pid2 = Items.Item(i); | |
if (IsFolderEx(pid2)) { | |
if (api.ILIsEqual(pid1, pid2)) { | |
if (j >= 0) { | |
Navigate(Items.Item(j), 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
Addons.Tabgroups.Wheel(1); |
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
Addons.Tabgroups.Wheel(-1); |
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
api.ShowWindow(te.hwnd, SW_MAXIMIZE); |
OlderNewer