小巧Tiny
约 2.5 MB, 运行时约占用 30 MB 内存。一个 exe 加少量资源文件, 不需要 .NET、Electron 或其他运行库。 About 2.5 MB, using about 30 MB of memory while running. One exe plus a few resource files — no .NET, Electron or other runtime.
开源 · 免费 · 免安装Open source · Free · Portable
轻量、开源的 Windows 启动器,操作方式参照 macOS 上的 Alfred。程序、文件、网页、计算、剪贴板、系统命令,输入几个字母,按 Enter。 A lightweight, keyboard-first launcher for Windows, inspired by Alfred for macOS. Apps, files, web search, calculator, clipboard and system commands — type a few letters and press Enter.
约 2.5 MB, 运行时约占用 30 MB 内存。一个 exe 加少量资源文件, 不需要 .NET、Electron 或其他运行库。 About 2.5 MB, using about 30 MB of memory while running. One exe plus a few resource files — no .NET, Electron or other runtime.
输入第一个字符就显示结果;配合 Everything 毫秒级搜索全盘文件,没装时用内置索引。 Results appear as you type. With Everything, whole-disk file search takes milliseconds; otherwise a built-in index is used.
记住每次的选择,常用的自动排第一;支持单词首字母(vsc → Visual Studio Code)和拼音首字母(wx → 微信,文件也可以:cs → 测试文件.zip;繁体字、生僻字也认得),并高亮匹配的字。
Learns what you pick for each query. Matches word initials (vsc → Visual Studio Code) and pinyin initials for app and file names (traditional and uncommon characters too), and highlights the matched characters.
对话框快速跳转(Quick Switch):打开 / 保存对话框一步跳到 Total Commander、Directory Opus、Arke 或资源管理器里已经打开的文件夹;在任意程序里选中文字、文件或网址,按 Ctrl+Alt+\ 直接操作。 Quick Switch jumps an Open / Save dialog to a folder you already have open in Total Commander, Directory Opus, Arke or Explorer; select text, files or a URL in any program and press Ctrl+Alt+\ to act on it.
计算与单位换算、网页搜索、浏览器书签、剪贴板历史、文字片段自动展开、系统命令、终端,还有文件夹同步,不用再装一堆小工具。 Calculator with unit conversion, web search, browser bookmarks, clipboard history, snippet expansion, system commands, a terminal and folder sync.
→ 打开操作面板,F3 直接编辑,Ctrl+1~9 快速打开;也可以双击 Ctrl 呼出。 → for the action panel, F3 to edit in place, Ctrl+1–9 to open; or double-tap Ctrl to show it.
免安装,不需要管理员权限,没有后台服务;设置和数据在 Data\ 文件夹(剪贴板历史默认只存本机),不收集任何数据。
No installer, no admin rights, no background service. Settings and data live in the Data\ folder (clipboard history stays on this PC by default); no telemetry.
有新版本时搜索窗口里提示,直接下载的版本按 Enter 安装,自动校验 SHA256,设置保留;winget / Scoop 装的按 Enter 会复制升级命令,退出后在终端里运行。 New versions show up in the search window; for a direct download, press Enter to install (SHA256 verified, settings kept). With winget or Scoop, Enter copies the upgrade command to run in a terminal after quitting.
简体中文、繁體中文、English、日本語界面;22 套内置主题,可跟随系统深浅色;主题和设置都是 JSON 文件。 English, Simplified / Traditional Chinese and Japanese interface; 22 built-in themes that can follow the Windows light / dark mode; plain JSON settings.
也可以用在线主题生成器改字体、字号和颜色,做一套自己的主题,见 主题文档。 Or make your own font, sizes and colors with the online theme builder — see the theme docs.






















用脚本给 ALTRun 加功能(类似插件):下载到 Scripts\ 文件夹(偏好设置 → 脚本 → 打开脚本文件夹),输入关键字就能用。每个脚本都是文本文件,用之前可以先看源码;会联网的写明了连到哪里。
Add features to ALTRun with scripts (like plugins): download one into the Scripts\ folder (Preferences → Scripts → Open Scripts Folder) and type its keyword. Each script is a text file — read the source before you use it; the ones that go online say where.
dark在 Windows 的浅色和深色模式之间切换 (应用和任务栏一起)Switches Windows between light and dark mode (apps and the taskbar together)
delayedstart登录 Windows 几分钟后再启动 OneDrive 等程序, 让桌面更快可用 (任务计划程序, 不需要管理员权限)Start programs such as OneDrive a few minutes after signing in to Windows, so the desktop is ready sooner (Task Scheduler, no administrator rights)
envvar实时结果: 名字含有输入文字的环境变量, 回车复制变量值Live results: the environment variables whose name has what you type; Enter copies the value
hash计算文件的 MD5、SHA-1 和 SHA-256, 在文本编辑器里显示; 选中文件按 Ctrl+Alt+\ 也能用MD5, SHA-1 and SHA-256 of a file, shown in your text editor; also in the actions for a selected file (Ctrl+Alt+\)
本机各网卡的 IPv4 地址, 在文本编辑器里显示The IPv4 addresses of this PC's network adapters, shown in your text editor
kill实时结果: 正在运行的程序和占用的内存, 大的在前; 回车结束所选程序的全部进程Live results: your running programs with their memory, the largest first; Enter ends every process of the chosen program
media实时结果: 播放 / 暂停、下一首、上一首、停止、静音和音量增减, 也就是 ALTRun 以前内置的这几个命令Live results: play / pause, next and previous track, stop, mute and volume up / down, the commands ALTRun had built in before
ocr框选屏幕区域, 用在线 OCR 识别文字 (准确率更高), 结果复制到剪贴板; 未配置密钥或在线失败 (断网等) 时自动回退到免费离线的 Windows OCRSelect a screen area and recognize its text with online OCR (better accuracy); result goes to the clipboard. Falls back to free offline Windows OCR if no API key or the online call fails.
pttools钢筋和钢筋网 (BRC) 面积、所需钢筋根数、计算器; 结果可以复制到 ExcelRebar and mesh (BRC) areas, the number of bars required and a calculator; results copy to Excel
note把一行带日期时间的笔记追加到 Markdown 笔记文件 (默认 "文档\Notes.md", 可以改)Adds a line with the date and time to a Markdown notes file (Documents\Notes.md unless you choose another)
shot把剪贴板里当前的图片另存为 PNG 文件; "另存为"对话框默认打开当前资源管理器所在文件夹Save the current clipboard image as a PNG file; Save As opens in the current Explorer folder
spf2m后张预应力束线型: 各支架处的束高, 结果和 SPF2M 程序一致; 表格可以复制到 ExcelPost-tensioning tendon profiles: the tendon height at each support, with the same results as the SPF2M program; the table copies to Excel
tcTotal Commander 命令面板: 按名字找 TC 的命令和你自己的命令 (em_), 回车执行A command palette for Total Commander: find its commands and your own (em_) by name, Enter runs them
fy边打字边翻译: 中文译成英文, 其他语言译成中文; 用 MyMemory 免费翻译, 设置自己的 DeepL API key 后翻译得更好 (在列表里就能设置)Live translation: Chinese to English, other languages to Chinese; free with MyMemory, better with your own DeepL API key (set it from the list)
ts实时结果: 现在的 Unix 时间戳, 时间戳转成日期 (秒或毫秒), 或日期转成时间戳; 回车复制Live results: Unix time now, a timestamp as a date (seconds or milliseconds), or a date as a timestamp; Enter copies
port查哪个程序占用了某个端口 (netstat, 带进程 ID), 在命令行窗口里显示Which programs use a TCP / UDP port (netstat, with process IDs), in a console window
tz实时结果: 60 个城市现在的时间、日期和与本地的时差; 回车复制Live results: the time now in 60 cities, with the date and the difference from yours; Enter copies it
“下载”打开的是文本,按 Ctrl+S 保存(或在链接上右键 → 链接另存为)。想自己写,见脚本文档;欢迎投稿到脚本库。 “Download” opens the text: press Ctrl+S to save it (or right-click the link → Save link as). To write your own, see the scripts docs; scripts from other people are welcome in the library.
ALTRun.exe,按 Alt+Space
Run ALTRun.exe and press Alt+Space? 查看全部语法和快捷键
Type ? for every syntax and shortcut如果 Windows SmartScreen 提示“Windows 已保护你的电脑”,点 更多信息 → 仍要运行;杀毒软件误报见常见问题。 If Windows SmartScreen says “Windows protected your PC”, click More info → Run anyway; for antivirus warnings see the FAQ.
winget install zhugecaomao.ALTRun
scoop bucket add altrun https://github.com/zhugecaomao/ALTRun
scoop install altrun
装了 AutoHotkey v2 时,克隆仓库后直接运行 ALTRun.ahk。
With AutoHotkey v2 installed, clone the repository and run ALTRun.ahk.
Code signing: Free code signing provided by SignPath.io, certificate by SignPath Foundation. Code signing policy
全拼搜索, 更整齐的偏好设置: 中文名称除了首字母, 也可以用全拼找 (weixin, wxin, w xin 都能找到 微信), 还能按词分开找, zj jia 能找到 中交路建. 偏好设置的每一页都改成了分节排版: 只在另一个选项打开时才有用的选项缩进到它下面, 没打开时变灰; 计算器, 脚本, 一键加日期, 对话框快速跳转和剪贴板历史在页顶有了开关. 网站新增主题生成器, 可以在线编辑主题, 实时预览, 一步导入. 在微信里复制图片不再弹出意外错误, 网络文件夹离线时不再让 ALTRun 卡住约 20 秒, 剪贴板历史很多时保存快了约 5 倍.
VirusTotal: 0 / 69 (报告)
scoop update altrunwinget upgrade zhugecaomao.ALTRunweixin, wxin, weix, w xin 都能找到 微信, zhangcheng 也能找到 长城; ü 打 v. 不做容错 (win 找不到), 打的字要在名称里挨着. 几个词连不成一串时, 每个词也可以按首字母或名称里任意位置的全拼找 (和 st co 找到 Visual Studio Code 一样), 例如 zj jia 能找到 中交路建, 排在连成一串的结果后面. 范围: 应用, 自定义命令, 脚本和脚本结果, 窗口, 书签, 系统命令, 操作面板和内置文件索引 (Everything 找到的文件仍由 Everything 匹配); 高亮标出打到的字. 详见 Wiki 怎样匹配 (#667)# 后面, 不发给网站服务器 (#727)Themes 文件夹并在主题列表里选中, 点 确定 生效; 读不了的文件 (JSON 有错误) 当场提示出错的行, 不导入; 同名主题先问要不要覆盖, 和内置主题同名时提示会代替它 (#727)media): 列出播放 / 暂停, 下一首, 上一首, 停止, 静音 / 取消静音, 音量加 / 减 (每次 10) 七项, 选中按 Enter 执行; 音量的三项显示当前音量, 执行后提示新的音量F3 (以及实时结果脚本出错那一行上按 Enter) 编辑脚本, 和在 偏好设置 → 脚本 里双击一样: 用 Windows 为这种文件登记的编辑程序 (右键菜单里的 "编辑"), 没有登记时才用记事本; 以前总是用记事本fy) 不用 key 也能翻译: 没有 DeepL key 时用免费的 MyMemory (每个网络每天有额度, 在用户环境变量 MYMEMORY_EMAIL 里写上邮箱能提高), DeepL 本月额度用完时也自动改用它; 想用 DeepL, 输入 fy 选 "设置 DeepL API key" 按回车, 粘贴 key 即可 (先向 DeepL 检查, 再存进用户环境变量, ALTRun 不保存). 有假名的文字按日文处理, 不再当成中文. 不用 key 的想法来自 sfcboy 投稿的 #585, 谢谢\\服务器\共享 或映射的网络驱动器) 时, 服务器不在线 (NAS 关机, 离开公司网络) 不再让 ALTRun 卡住约 20 秒: 启动, 监视文件夹和重新扫描时, 网络文件夹最多等 0.5 秒, 不回应就先跳过, 每 30 秒再试一次, 回来后自动重新扫描.csv 后和已有文件同名时, 先问是否覆盖; 导出先写完整的新文件再替换, 写失败时原来的文件保持不变F3 后, 搜索窗口不再消失一下又出现再消失: 脚本在外部编辑器里编辑, 搜索窗口隐藏后不再重新显示 (和 Ctrl+E 一样)MediaPlayPause MediaNext MediaPrev MediaStop Mute VolumeUp VolumeDown): 很少用到, 也不属于搜索和启动, 移到上面的 Media Keys 脚本. 为这些命令设的自定义热键, 把脚本放进脚本文件夹后照常可用 (运行脚本里同样的操作); 没有脚本时提示命令去了哪里, 偏好设置 → 热键里显示为红色. 置顶和最近使用里的这几项不再列出Full pinyin search, and a tidier Preferences window: Chinese names can be found by full pinyin as well as by initials (weixin, wxin and w xin all find 微信), also word by word, so zj jia finds 中交路建. Every Preferences page is now laid out in sections: an option that only matters when another one is on is indented under it and grayed out while it is off, and Calculator, Scripts, Date Stamp, Quick Switch and Clipboard History have their on / off check box at the top of their page. Themes can be edited online with a live preview in the new Theme Builder and imported in one step. Copying an image in WeChat no longer shows an unexpected-error message, an offline network folder no longer freezes ALTRun for about 20 seconds, and saving a large clipboard history is about five times faster.
VirusTotal: 0 / 69 (report)
scoop update altrunwinget upgrade zhugecaomao.ALTRunweixin, wxin, weix and w xin all find 微信, and zhangcheng finds 长城; type ü as v. No typo tolerance (win finds nothing), and the characters typed must be next to each other in the name. When the words don't join into one run, each word can also match by its initials or by full pinyin anywhere in the name (as st co finds Visual Studio Code): zj jia finds 中交路建, listed after the results that match as one run. Applies to apps, custom commands, scripts and their results, windows, bookmarks, system commands, the action panel and the built-in file index (files found by Everything are still matched by Everything); the typed characters are highlighted. See the Wiki: How matching works (#667)# in the address and is not sent to the website's server (#727)Themes folder and selects it, applied with OK. A file that can't be read (a JSON error) is reported with the line at fault and not imported; a theme with the same name asks before it is replaced, and one named like a built-in theme says it will take its place (#727)media): lists Play / Pause, Next, Previous, Stop, Mute / Unmute and Volume Up / Down (by 10), run with Enter; the volume items show the current volume, and a notice shows the new oneF3 on a script in the search window (and Enter on a live result script's error row) edits it as a double-click in Preferences → Scripts does: with the editor Windows has registered for the file type ("Edit" in the right-click menu), Notepad only when there is none; it was always Notepad beforefy) works without a key: without a DeepL key it uses the free MyMemory (a daily quota per network, raised by putting an email address in the user environment variable MYMEMORY_EMAIL), and also when DeepL's monthly quota is used up. To use DeepL, type fy, choose "Set a DeepL API key", press Enter and paste the key (checked with DeepL first, then stored in a user environment variable; ALTRun doesn't keep it). Text with kana is taken as Japanese, no longer as Chinese. The idea of working without a key comes from #585 by sfcboy, thanks\\server\share or a mapped network drive) among the app folders or file search folders no longer freezes ALTRun for about 20 seconds while its server is offline (a NAS switched off, away from the office network): at start-up, when watching folders and when rescanning, a network folder gets at most 0.5 s; one that doesn't answer is skipped and tried again every 30 s, and rescanned once it is back.csv is added to a name typed without an extension and a file of that name exists, it asks before replacing it; the export writes the whole new file first, so a failed write leaves the old file as it wasF3 on a script in the search window no longer makes the window disappear, reappear and disappear again: the script is edited in the outside editor and the search window stays hidden (as with Ctrl+E)MediaPlayPause MediaNext MediaPrev MediaStop Mute VolumeUp VolumeDown): rarely used and not about searching and launching, they moved to the Media Keys script above. Custom hotkeys set for them keep working once the script is in the scripts folder (the script's same action runs); without it a notice says where the command went, and Preferences → Hotkeys shows them in red. These items are no longer listed among the pinned and recent items