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_MINIMIZE); |
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, api.IsZoomed(te.hwnd) ? SW_RESTORE : SW_MAXIMIZE); |
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 (!pt) { | |
pt = api.Memory("POINT"); | |
api.GetCursorPos(pt); | |
} | |
var FolderItem = FolderMenu.Open(fso.BuildPath(fso.GetParentFolderName(api.GetModuleFileName(null)), "layout"), pt.x, pt.y, "*.xml"); | |
if (FolderItem && api.PathMatchSpec(FolderItem.Path, "*.xml")) { | |
LoadXml(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
importScripts("\\script\\consts.js"); | |
if (MainWindow.Exchange) { | |
var ex = MainWindow.Exchange[arg[3]]; | |
if (ex) { | |
delete MainWindow.Exchange[arg[3]]; | |
var FV = ex.FV; // FolderView | |
var Ctrl = ex.Ctrl; // Control | |
var pt = ex.pt; // Mouse cursor | |
var SessionId = ex.SessionId; // FolderView.SessionId on start script |
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.Focus(); |
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
sha = new ActiveXObject('Shell.Application'); | |
wsh = new ActiveXObject('WScript.Shell'); | |
CTRL_FV = 0; | |
CTRL_TC = 0x30000; | |
var disp = []; | |
var sw = sha.Windows(); | |
for (var i = 0; i < sw.Count; i++) { | |
var x = sw.Item(i); | |
if (x) { |
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
<link rel='stylesheet' id='leaflet_stylesheet-css' href='https://unpkg.com/leaflet@1.3.3/dist/leaflet.css' type='text/css' media='' /> | |
<script async type='text/javascript' src='https://unpkg.com/leaflet@1.3.3/dist/leaflet.js'></script> | |
<style type="text/css"> | |
.leaflet-zoom-box { z-index: 280; } | |
.leaflet-pane { z-index: 240; } | |
.leaflet-overlay-pane { z-index: 240; } | |
.leaflet-shadow-pane { z-index: 250; } | |
.leaflet-marker-pane { z-index: 260; } | |
.leaflet-tooltip-pane { z-index: 265; } | |
.leaflet-popup-pane { z-index: 270; } |
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), Item, Items = FV.Items(); | |
for (var i = 0; Item = Items.Item(i); i++) { | |
FV.SelectItem(Item, api.PathMatchSpec(Item.Path , "*.flac") ? SVSI_SELECT : SVSI_DESELECT); | |
} |
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; |
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; |