Skip to content

Instantly share code, notes, and snippets.

@tablacus
Last active September 22, 2022 07:52
Show Gist options
  • Save tablacus/ee77b6c9018e8267e419cac6e54e9e1b to your computer and use it in GitHub Desktop.
Save tablacus/ee77b6c9018e8267e419cac6e54e9e1b to your computer and use it in GitHub Desktop.
New Folder dialog - Tablacus Explorer
const currentPath = api.GetDisplayNameOf(FV, SHGDN_FORPARSING);
InputDialog("New Folder", "", function (r) {
if (r) {
let path = r.replace(/^\s+/, "");
if (!/^[A-Z]:\\|^\\/i.test(path)) {
path = BuildPath(currentPath, path);
}
fso.CreateFolder(path);
}
});
@kettenfett
Copy link

kettenfett commented Sep 22, 2022

Confirmed working in Tablacus 22.9.5, with:

TE64 22.9.5 Microsoft Windows 10 Pro 64-Bit 21H2 (10.0.19044) Dark IE/11 JS/11.0.16384 de_de 96 Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz [...]

and

remember 1.42,mouse 1.33,key 1.26,everything 1.45,filterbar 1.39,addressbar 1.70,mainmenu 1.16,undoclosetab 1.16,tabplus 1.96,split 1.26,multithread 1.29,aboutblank 1.04,segoeicons 1.04,extract 1.15,darkmode 1.18,sizestatus 1.27,favoritesbar 1.42,toolbar 1.44,countbar 1.12,favoritesnewtab 1.02,preventduplicatetabs 1.19,fixselection 1.16,innerup 1.10,innerback 1.14,innerforward 1.16,innerrefresh 1.07,innernewfolder 1.06,switchpane 1.05,totalfilesizesort 1.13,tabdesign 1.16,addonsupdater 1.10,takeoverfoldersettings 1.08,innersearchbar 1.13,fullpathbar 1.06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment