Skip to content

Instantly share code, notes, and snippets.

Gaku tablacus

Block or report user

Report or block tablacus

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tablacus
tablacus / switch_list_details.js
Created Dec 13, 2018
Switch List and Details - Tablacus Explorer
View switch_list_details.js
FV.CurrentViewMode = FV.CurrentViewMode == FVM_LIST ? FVM_DETAILS : FVM_LIST;
View lineheight.js
var FV = GetFolderView(Ctrl, pt);
FV.IconSize = 19;
@tablacus
tablacus / movetabright.js
Created Aug 29, 2018
Move Tab to right - Tablacus Explorer
View movetabright.js
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;
@tablacus
tablacus / movetableft.js
Created Aug 29, 2018
Move Tab to left - Tablacus Explorer
View movetableft.js
var TC = te.Ctrl(CTRL_TC);
if (TC && TC.SelectedIndex > 0) {
TC.Move(TC.SelectedIndex, TC.SelectedIndex - 1);
return S_OK;
}
return S_FALSE;
@tablacus
tablacus / selectflac.js
Created Aug 13, 2018
Select flac files. - Tablacus Explorer
View selectflac.js
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);
}
@tablacus
tablacus / allinonecalendarleafletmap.html
Last active Aug 5, 2018
Use Leaflet (OpenStreetMap) via All-in-One Event Calendar (WordPress Plugin)
View allinonecalendarleafletmap.html
<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; }
@tablacus
tablacus / autocolumnssize.js
Created May 10, 2018
Auto columns size - Tablacus Explorer
View autocolumnssize.js
FV.CurrentViewMode(4,16);
setTimeout(function()
{
FV.Columns ='"System.ItemNameDisplay" -2 "System.DateModified" -2 "System.Size" -2 "System.ItemTypeText" -2';
}, 99);
@tablacus
tablacus / fvlist.js
Last active Apr 10, 2018
Folder view list for WSH
View fvlist.js
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) {
@tablacus
tablacus / ttsc.cpp
Last active Apr 29, 2019
Use Tablacus Script Control without needing to write anything to registry
View ttsc.cpp
// 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
@tablacus
tablacus / FocusFolderView.js
Created Mar 22, 2018
Focus Folder view - Tablacus Explorer
View FocusFolderView.js
var FV = GetFolderView(Ctrl. pt);
FV.Focus();
You can’t perform that action at this time.