This is a collection of basic Mathematica tools, generally implemented as one-off packages.
This is a package that provides a tabbed notebook interface. Load it like so:
Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/NotebookTabbing.wl"]
Here’s a sample usage:
test1=CreateDocument["Input"];
SetDockedTabs[test1,
Table[i->i,{i,3}]
];
An example can be found in [Tabbing Example.nb](Tabbing Example.nb)
This is functionality developed to put in my PackageData.net Service Connection . It provides auto-installation of packages, especially from GitHub or the Wolfram Library Archive.
Load it like so:
Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/PackageDataPacletInstall.m"]
Then use it like so:
PDInstallPaclet["https://github.com/szhorvat/MaTeX"]
(*Out:*)
This is a little block-programming interface, first introduced in this StackExchange answer . Load it like so:
Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/BlockBuilder.m"]
And use it like this
BlockBuilder[]
This is a file browser, built kinda like the Finder on a Mac computer. A more sophisticated version is in BTools. Load it like so:
Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/FileBrowser.wl"]
You can use it like so:
FileBrowser[Directory[]];
(*Loads a sidebar pre-populated with $HomeDirectory and friends*)
FileBrowser[Directory[],
Function->Print
];
(*Prints files instead of opening them on double-click*)
FileBrowser[BTools`$AppDirectory,
{$InstallationDirectory, $BaseDirectory, $UserBaseDirectory}
]
(*Loads a different root directory and sidebar*)
(*Out:*)
Creates an old-style (pre-Version 6) help browser. Also includes a search function. Builds an index of all existing documentation pages. Load it like so:
Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/OldHelpBrowser.wl"]
Then use it like so:
OpenHelpBrowser[CurrentValue[HomePage] (* Optional. Blank will open faster. *)]
(*Out:*)
NotebookObject[FrontEndObject[LinkObject["36tt4_shm", 3, 1]], 681]
It also implements documentation search:
HelpPagesSearch[
{
"type"->"Symbol",
"title"->"*My*"
},
True
]
(*Out:*)
Clicking on one of those links will open the browser