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
// ttsc.cpp : Defines the entry point for the application. | |
// | |
#include "stdafx.h" | |
#include "ttsc.h" | |
#define MAX_LOADSTRING 100 | |
// Global Variables: | |
HINSTANCE hInst; // current instance |
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
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
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
clipboardData.setData("text", FV.FolderItem.Path); |
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) { | |
var oDest = sha.NameSpace(fso.GetParentFolderName(api.GetDisplayNameOf(FV, SHGDN_FORPARSING))); | |
if (oDest) { | |
oDest.MoveHere(Selected, FOF_ALLOWUNDO); | |
} | |
} |
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
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
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
.locked { | |
background-color: #ffff00; | |
} |