# Toolbox languages

DevFeed: [Toolbox languages](<https://devfeed.tech/articles/toolbox-languages-52987.md>)

Original publisher: [Read original article](<https://www.hillelwayne.com/post/toolbox-languages/>)

Published: 2024-07-15T00:00:00Z

Content type: opinion

Language: en

Sources: [Hillel Wayne](<https://devfeed.tech/sources/hillel-wayne.md>)

Topics: [Programming](<https://devfeed.tech/topics/programming.md>), [Autohotkey](<https://devfeed.tech/topics/autohotkey.md>), [Script](<https://devfeed.tech/topics/script.md>), [GUI](<https://devfeed.tech/topics/gui.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [Python](<https://devfeed.tech/topics/python.md>), [win32](<https://devfeed.tech/topics/win32.md>)

Tags: [autohotkey](<https://devfeed.tech/tags/autohotkey.md>), [frink](<https://devfeed.tech/tags/frink.md>), [gui](<https://devfeed.tech/tags/gui.md>), [j](<https://devfeed.tech/tags/j.md>), [languages](<https://devfeed.tech/tags/languages.md>), [linux](<https://devfeed.tech/tags/linux.md>), [picat](<https://devfeed.tech/tags/picat.md>), [practices](<https://devfeed.tech/tags/practices.md>), [python](<https://devfeed.tech/tags/python.md>), [raku](<https://devfeed.tech/tags/raku.md>), [shell](<https://devfeed.tech/tags/shell.md>), [toolbox](<https://devfeed.tech/tags/toolbox.md>)

## AI overview

An exploration of "toolbox languages," programming languages that solve practical problems without requiring third-party packages. It discusses AutoHotkey for Windows GUI automation and J for concise array-based mathematical work, with examples and further reading.

## Source excerpt

A toolbox language is a programming language that's good at solving problems without requiring third party packages. My default toolbox languages are Python and shell scripts, which you probably already know about. Here are some of my more obscure ones. AutoHotKey Had to show up! Autohotkey is basically "shell scripting for GUIs". Just a fantastic tool to smooth over using unprogrammable applications. It's Windows-only but similar things exist for Mac and Linux. Useful features: You can configure shortcuts that are only active for certain programs, if a global flag is set, if certain text appears on screen, etc. Simple access to lots of basic win32 functionality. Opening the file selection dialog is just f := FileSelect(). The GUI framework is really, really good. Honestly the best of any language I've used, at least for small things. Example problems: Audacity doesn't let you configure mouse shortcuts, so I used AutoHotKey to map the middle-mouse to a keyboard shortcut anyway. #HotIf WinActive("ahk_exe audacity.exe") MButton::Send "^l" ; silence selection #HotIf I made typing `;iso` fill in the current date. :R:;iso:: { Send(FormatTime(,"yyyy-MM-dd")) } This is a tool I use to take timestamped notes. ; right-ctrl + d >^d:: { TimeString := FormatTime(,"MM/dd hh:mm tt") t_msg := InputBox(,TimeString,"w200 h100") if t_msg.Result = "OK" { timestampfile := A_WorkingDir . "\Config\timestamps.txt" FileAppend(TimeString . "`t" . t_msg.Value . "`r`n", timestampfile) } } Other uses: launch REPLs for toolbox languages. Input the 100-keypress sequence required to beat one videogame (if you know, you know). Further reading: Learn AutoHotKey by stealing my scripts Somehow AutoHotKey is Kinda Good Now In Praise of AutoHotKey J An array language, like APL. Really good at doing arithmetic on arrays, hair-pullingly frustrating at doing anything with strings or structured data. I used to use it a lot but I've mostly switched to other tools, like Excel and Raku. But it's still amazing