Home (All Topics) → Technology → Software → AI-Created Software
A Windows library for your Python, PowerShell and batch scripts: it reads each script’s arguments into a form, remembers the values you use, and runs the scripts in a built-in terminal, alone, in chains, on schedules or from a keyboard shortcut.

.py, .pyw, .ps1 and .bat scripts, in groups and folders, with tags, notes and search.argparse code, PowerShell’s param() block or a batch file’s %1–%9.{{variables}} for values.
Scriptary needs Windows and Python 3.8 or later with Tkinter (python.org’s installer includes it).
python -m pip install pyte pystray pillow
pythonw scriptary.pyw
pyte is required (Scriptary offers to install it if it is missing). pystray and Pillow are optional: they add a tray icon, and closing the window then hides it in the tray.pywinpty is needed only on Windows older than 10 (1809).
The interface uses the Archivo font when its .ttf files are in Resources\Fonts beside scriptary.pyw or installed, and Segoe UI otherwise. Only one copy runs at a time: starting it again brings the window to the front.
+ Add registers one script and Scan every script in a folder tree (virtual environments, site-packages and hidden folders are skipped).
Refresh reads the scripts again. Python arguments are read from the source without running it; for a parser built at run time, right-click → Detect Arguments by Running Script….
Scripts that open a window (⧉) or need administrator rights (⛨) are detected and can be filtered on.
Select a script, fill in its parameters and click Run. Fields are text boxes, ON/OFF switches, or a row of buttons for an option’s choices= (clicking the lit one again leaves the option out); path fields have browse and open buttons.
Save keeps the values; unsaved edits are kept as you switch scripts, and ● Unsaved counts them. The COMMAND box shows exactly what will run.%USERPROFILE% and other environment variables are expanded at each run, and {{name}} is replaced by a variable from Manage → Variables….
Each run opens an output tab with the script’s colors and progress bars; type into STDIN to answer prompts. Tabs have Stop, Find (Ctrl+F), Copy output and Save output, can be pinned from their right-click menu, and reopen with their output the next time Scriptary starts.
Scripts are listed under the folder they are in, or in groups you make with + Group. The right-click menu moves, clones, labels, tags, tucks away (behind a “+ N more” line) or archives a script. SORT sorts by name, date registered or last run; FILTER narrows the list by GUI, admin, last result, file type, tags and more. Ctrl+click and Shift+click select several scripts for one action.
Run as admin asks Windows for administrator rights and still shows the output in a tab. Scripts with a window are launched detached (right-click → Launch Detached): no console and no tab, and they keep running when Scriptary closes. The run is still recorded, and its output is shown only if it fails or ends within five seconds.
Undo (Ctrl+Z) and Redo (Ctrl+Y) reverse changes to the library, saved values and settings.
History lists every change with what it did, to undo one change, roll back to a point in time, or restore one script.
Manage opens reports over the library: parameter names (to give many parameters one alias), parameters without help, unused saved values, saved paths, find and replace in saved values, a run report, archived scripts, tags, a script list to export as TSV for Excel, and scripts in a folder that aren’t registered yet. Click a heading to sort a table; drag a column’s edge to size it, or double-click the edge to fit the column to its contents. Windows reopen where you left them.
The data files are beside scriptary.pyw, or in the folder given with --working-folder-path. Each starts with the computer’s name (OFFICE-PC_registry.json), so several computers can share one folder on OneDrive, and script paths are stored against %OneDrive%, %USERPROFILE% and the like so they work on each. Files are saved atomically; a damaged file is kept as .corrupt-DATE.json and the last good copy (.bak) is offered back.
Use python.exe for these, so the output appears; python scriptary.pyw --help lists every option.
--command add|remove|list|run: do this in the console instead of opening the window (blank: open the window).--script-file-path FILE: the script to add.--script-name NAME: the script to remove or run, by ID (or its first 6 characters), label or file name.--working-folder-path FOLDER: where the data files are, created if needed; relative to Scriptary’s folder (blank: Scriptary’s folder).--show-self-restart-option TRUE: add Restart Scriptary and Restart as Administrator to the menus.--selftest TRUE: check Scriptary’s own functions without touching the library.--command run uses the saved values and exits with the script’s own exit code. Scriptary exits with 1 when a command can’t be done (no such script, a name that matches several, a damaged file) and 2 for a command-line mistake.
| Key | Action |
|---|---|
| Ctrl+F | Go to the search box (in an output tab: find in its output) |
| Esc | Clear the search; close Find |
| ↑ / ↓ | Move through the script list |
| Ctrl+Z, Ctrl+Y | Undo, redo a library change (in a text field: its text) |
| Ctrl+Home, Ctrl+End | Scroll an output tab to the top, the bottom |
| Enter | Send typed input to the script; next match in Find |
| Delete | Remove the selected row in a Manage window |
pyte and restart Scriptary.Get-ExecutionPolicy -List in the PowerShell your PowerShell path uses, or add -ExecutionPolicy Bypass to it.pwsh.exe.

