开源 · 免费 · 免安装Open source · Free · Portable

按 Alt+Space,
一个窗口完成
Press Alt+Space.
Type. Done.

轻量、开源的 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.

最新版 2026.11.16 · Windows 10 / 11 · 不需要 .NET 或其他运行库 · GPL‑3.0 Latest 2026.11.16 · Windows 10 / 11 · No .NET or other runtime · GPL‑3.0

ALTRun: type to search, open the action panel, convert units and search files
1367 KB下载大小Download size
0需要安装的运行库Runtimes to install
22套内置主题Built-in themes
8000+项自动测试Automated tests
10,131次下载Downloads

为什么选择 ALTRunWhy ALTRun

小巧Tiny

约 2.5 MB。一个 exe 加少量资源文件,不需要 .NET、Electron 或其他运行库。 About 2.5 MB. One exe plus a few resource files — no .NET, Electron or other runtime.

快速响应Instant

输入第一个字符就显示结果;配合 Everything 毫秒级搜索全盘文件,没装时用内置索引。 Results appear as you type. With Everything, whole-disk file search takes milliseconds; otherwise a built-in index is used.

越用越懂你Smart ranking

记住每次的选择,常用的自动排第一;支持单词首字母(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.

不只是启动Beyond launching

对话框快速跳转(Quick Switch):打开 / 保存对话框一步跳到 Total Commander、Directory Opus 或资源管理器里已经打开的文件夹;在任意程序里选中文字、文件或网址,按 Ctrl+Alt+\ 直接操作。 Quick Switch jumps an Open / Save dialog to a folder you already have open in Total Commander, Directory Opus or Explorer; select text, files or a URL in any program and press Ctrl+Alt+\ to act on it.

多合一All in one

计算与单位换算、网页搜索、浏览器书签、剪贴板历史、文字片段自动展开、系统命令、终端,还有文件夹同步,不用再装一堆小工具。 Calculator with unit conversion, web search, browser bookmarks, clipboard history, snippet expansion, system commands, a terminal and folder sync.

全键盘操作Keyboard first

→ 打开操作面板,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.

便携与隐私Portable and private

免安装,不需要管理员权限,没有后台服务;设置和数据在 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.

一键更新One-key updates

有新版本时搜索窗口里提示,直接下载的版本按 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.

随心定制Customizable

简体中文、繁體中文、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.

看看它能做什么See it in action

ALTRun screenshot

22 套内置主题22 built-in themes

也可以复制一套改成自己的配色,见 主题文档。 Or copy one and make it your own — see the theme docs.

Light
浅色Light
Dark
深色Dark
Classic
经典Classic
Midnight
午夜Midnight
Frost
霜白Frost
Graphite
石墨Graphite
Ocean
海洋Ocean
Paper
纸张Paper
Lavender
薰衣草Lavender
Rose
玫瑰Rose
Forest
森林Forest
Sunset
日落Sunset
High Contrast
高对比High Contrast
Dark Modern
现代深色Dark Modern
Light Modern
现代浅色Light Modern
Monokai
MonokaiMonokai
One Dark
One DarkOne Dark
Tokyo Night
Tokyo NightTokyo Night
Dracula
DraculaDracula
Catppuccin Mocha
Catppuccin MochaCatppuccin Mocha
Gruvbox Dark
Gruvbox 深色Gruvbox Dark
Solarized Light
Solarized 浅色Solarized Light

脚本库Script library

用脚本给 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 Mode dark

在 Windows 的浅色和深色模式之间切换 (应用和任务栏一起)Switches Windows between light and dark mode (apps and the taskbar together)

  • 不联网No network
  • AutoHotkey v2

下载Download · 源码Source · Gitee 镜像Gitee mirror

Delayed Start 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)

  • 不联网No network
  • AutoHotkey v2

下载Download · 源码Source · Gitee 镜像Gitee mirror

Environment Variables envvar

实时结果: 名字含有输入文字的环境变量, 回车复制变量值Live results: the environment variables whose name has what you type; Enter copies the value

  • 不联网No network
  • AutoHotkey v2

下载Download · 源码Source · Gitee 镜像Gitee mirror

File Hash 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+\)

  • 不联网No network
  • PowerShell

下载Download · 源码Source · Gitee 镜像Gitee mirror

Kill Process kill

实时结果: 正在运行的程序和占用的内存, 大的在前; 回车结束所选程序的全部进程Live results: your running programs with their memory, the largest first; Enter ends every process of the chosen program

  • 不联网No network
  • AutoHotkey v2

下载Download · 源码Source · Gitee 镜像Gitee mirror

OCR - screenshot to clipboard 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.

  • 需要: 在线 OCR 可选: 设置用户环境变量 VOLC_AK / VOLC_SK (用只授权 OCR 的 IAM 子用户; 截图会上传到火山引擎, 涉密图纸请勿使用). 未配置则用离线 Windows OCR (需 Windows 10 1809+ 和 OCR 语言包).Needs: Optional, for online OCR: user env vars VOLC_AK / VOLC_SK (use an IAM sub-user allowed only for OCR; screenshots are uploaded to Volcengine, so avoid confidential drawings). Without them: offline Windows OCR (Windows 10 1809+ with an OCR language pack).
  • 联网: visual.volcengineapi.comConnects to: visual.volcengineapi.com
  • AutoHotkey v2
  • 作者: By @sfcboy

下载Download · 源码Source · Gitee 镜像Gitee mirror

PT Tools (Rebar / BRC Calculator) pttools

钢筋和钢筋网 (BRC) 面积、所需钢筋根数、计算器; 结果可以复制到 ExcelRebar and mesh (BRC) areas, the number of bars required and a calculator; results copy to Excel

  • 不联网No network
  • AutoHotkey v2

下载Download · 源码Source · Gitee 镜像Gitee mirror

Quick Note note

把一行带日期时间的笔记追加到 Markdown 笔记文件 (默认 "文档\Notes.md", 可以改)Adds a line with the date and time to a Markdown notes file (Documents\Notes.md unless you choose another)

  • 不联网No network
  • AutoHotkey v2

下载Download · 源码Source · Gitee 镜像Gitee mirror

SPF2M Post-Tensioning Tendon Profile Calculator 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

  • 不联网No network
  • AutoHotkey v2

下载Download · 源码Source · Gitee 镜像Gitee mirror

Total Commander Commands tc

Total Commander 命令面板: 按名字找 TC 的命令和你自己的命令 (em_), 回车执行A command palette for Total Commander: find its commands and your own (em_) by name, Enter runs them

  • 需要: Total Commander; ALTRun 2026.11.16.4 或更新Needs: Total Commander; ALTRun 2026.11.16.4 or later
  • 不联网No network
  • AutoHotkey v2

下载Download · 源码Source · Gitee 镜像Gitee mirror

Translate (DeepL) fy

用 DeepL 边打字边翻译: 中文译成英文, 其他语言译成中文Live translation with DeepL: Chinese to English, other languages to Chinese

  • 需要: 自己的 DeepL API key (免费版就够), 放在用户环境变量 DEEPL_AUTH_KEYNeeds: Your own DeepL API key (the free plan is enough) in the user environment variable DEEPL_AUTH_KEY
  • 联网: api-free.deepl.com, api.deepl.comConnects to: api-free.deepl.com, api.deepl.com
  • AutoHotkey v2

下载Download · 源码Source · Gitee 镜像Gitee mirror

Unix Timestamp ts

实时结果: 现在的 Unix 时间戳, 时间戳转成日期 (秒或毫秒), 或日期转成时间戳; 回车复制Live results: Unix time now, a timestamp as a date (seconds or milliseconds), or a date as a timestamp; Enter copies

  • 不联网No network
  • AutoHotkey v2

下载Download · 源码Source · Gitee 镜像Gitee mirror

Who Uses a Port port

查哪个程序占用了某个端口 (netstat, 带进程 ID), 在命令行窗口里显示Which programs use a TCP / UDP port (netstat, with process IDs), in a console window

  • 不联网No network
  • Batch (cmd)

下载Download · 源码Source · Gitee 镜像Gitee mirror

World Clock tz

实时结果: 60 个城市现在的时间、日期和与本地的时差; 回车复制Live results: the time now in 60 cities, with the date and the difference from yours; Enter copies it

  • 不联网No network
  • AutoHotkey v2

下载Download · 源码Source · Gitee 镜像Gitee mirror

“下载”打开的是文本,按 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.

下载与安装Download and install

直接下载Download

  1. 下载 ALTRun 2026.11.16(1367 KB),解压到任意文件夹 Download ALTRun 2026.11.16 (1367 KB) and unzip it anywhere
  2. 运行 ALTRun.exe,按 Alt+Space Run ALTRun.exe and press Alt+Space
  3. 输入 ? 查看全部语法和快捷键 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

winget install zhugecaomao.ALTRun

Scoop

scoop bucket add altrun https://github.com/zhugecaomao/ALTRun
scoop install altrun

Code signing: Free code signing provided by SignPath.io, certificate by SignPath Foundation. Code signing policy

最新版本 2026.11.16What's new in 2026.11.16

Summary

Quick Switch now works in dialogs of programs running as administrator: tick one option, confirm UAC once, and a small helper with administrator rights jumps those Open / Save and Browse for Folder dialogs, with Ctrl+G / Ctrl+Shift+G, the folder panel and auto switch, while ALTRun itself keeps normal rights. File Explorer with several tabs now jumps to the folder of the tab shown, not the first tab. A new option jumps a dialog as soon as it opens to the file manager used last (Ctrl+O in Word after browsing a folder). Web pages can open in a browser of your choice without making it the default, and portable browsers' bookmarks and history are searchable. Clipboard history shows thumbnails of copied image files (QQ, WeChat). Double-tapping the left Alt shows ALTRun, and Alt+Space can be freed once double-tap or the second hotkey is set. Fixes for Excel cells as the selection, file search stopping at 50 results, and AltGr characters in the search box.

Upgrade

  • One-click upgrade: tray icon → Check for Updates → Install Update
  • Installed with Scoop: scoop update altrun
  • Installed with winget: winget upgrade zhugecaomao.ALTRun

New

  • Quick Switch in dialogs of programs running as administrator (AppInn forum): Preferences → Quick Switch → Works in, tick Dialogs of programs running as administrator (confirm UAC once). A small helper with administrator rights does the jump (one scheduled task, shared with Caps Lock's "also in administrator windows"); ALTRun itself keeps normal rights. The folder panel, auto switch, Open / Save and Browse for Folder dialogs all work, and so do Ctrl+G / Ctrl+Shift+G: ALTRun can't get the keys there, so the helper takes them and only tells ALTRun which one was pressed. The helper only takes the standard dialog in front, of a program running as administrator, and a folder that exists; it never clicks Open or Save for you
  • Jump when a dialog opens (#521): Preferences → Quick Switch, Also jump when a dialog opens, to the file manager used last (off by default). An Open / Save dialog that has just opened jumps once to the folder of the Total Commander / Directory Opus / File Explorer window used last, for example Ctrl+O in Word after browsing a folder in Explorer; auto switch alone only jumps when you switch from a file manager to the dialog. It overrides the folder the program remembers, so it is off by default; No auto jump in applies to it too
  • Open web pages in a browser of your choice (#505): Preferences → General → Browser, without making it the default browser: bookmarks, browser history, web searches, URL custom commands, links in the selected text and the help pages. Parameters can follow (for example "C:\Apps\Vivaldi\vivaldi.exe" --new-window); empty = the default browser. Web results show that browser's icon
  • Bookmarks and history of portable and other Chromium browsers (#492): Preferences → Features → Other browsers, one folder per line (a browser's User Data folder, such as Google Chrome Portable's Data\profile, or a single profile folder). Bookmarks (bm) and browser history (h) include all its profiles; the box shows how many profiles each folder has ("no profile found" means the wrong folder). Environment and A_ variables work; a relative path starts from ALTRun's folder, so a browser on the same USB drive is found under another drive letter too
  • Double-tap the left Alt to show the search window (#501): Preferences → General → Double-tap → Left Alt. The left one only: the right Alt is AltGr on French, German, Polish and other keyboards. A single Alt press opens the menu bar of some programs (Notepad, Explorer) and the second press closes it, so it may flash; Alt+Space, Alt+Tab and other combinations don't count

Improvements

  • The ALTRun hotkey (Alt+Space) can be cleared (#521) once the second hotkey or double-tap (for example double Ctrl, as in Listary) is set: Backspace in the box in Preferences → General. With none of the three, Alt+Space comes back, so ALTRun can always be shown; the tray tip and the "already running" note show the way that works
  • Clipboard history: thumbnails of copied image files (#509): a single copied image file (QQ, WeChat and other chat programs copy pictures as files in their cache) shows its thumbnail instead of the file type icon; large pictures and formats like WebP use the system thumbnails, so typing doesn't stall. Thumbnails fill the icon square by default, cropped to the middle, so a wide screenshot is no longer a thin line; Preferences → Clipboard History → Crop thumbnails to fill the icon off shows the whole picture smaller
  • Pinned and recent items in the empty search box are two choices (#514): Preferences → Search Window → Empty search box, Show pinned items (Edit... moves them up / down or unpins) and Show recently used items (Clear... empties the list at once after confirming, pinned ones stay), with Number of recent items to show on its own line; either can be on alone. The Features page's "Pinned and recent" switch is gone: if it was off, both are unticked after the upgrade; a recent count above 0 keeps showing them
  • Preferences → Clipboard History: grouped into History (keep history after exit, save location), Images (also record images, images to keep, crop thumbnails) and Copy; settings that have no effect are grayed out; Max length shows its unit; Clear History Now asks first, saying how many items go (pinned ones stay)
  • Quick Switch: without the administrator option, a jump in an Open / Save dialog of a program running as administrator now explains where to turn it on (before, only Browse for Folder dialogs did), once per dialog
  • Snippets in the results start their second line with the text that expands them (;sig, ;signature · Paste snippet · ...), so typing snip lists every trigger (AutoHotkey forum); not shown when auto-expand is off for the snippet
  • The scheduled task of the administrator helper is renamed ALTRun Admin Helper; an existing ALTRun CapsLock Helper is moved over by the helper itself on the first start, without a UAC prompt

Fixes

  • File Explorer with several tabs in one window (#521): Ctrl+G and auto switch jumped to the folder of the first tab, not the tab shown; now the tab shown. "Open Terminal at Current Folder" and the actions "Copy / Move to Current Folder in Explorer" too
  • Excel cells as the selection (#513): Ctrl+Alt+\ (or a hotkey with {selection}) on selected cells said nothing was selected, because Excel puts its text on the clipboard later than other formats; ALTRun now waits for the text (up to 2 s) and tries again when it is empty, and with logging on writes which clipboard formats it found. With nothing selected, the hint comes about 1 s later than before
  • File search only (a leading space or ') showed at most 50 results whatever File search results was set to; it follows the setting now (#515)
  • AltGr in the search box (AutoHotkey forum, French AZERTY): characters typed with AltGr were taken as Ctrl shortcuts (AltGr+3 # ran the third row, AltGr+8 \ typed nothing; AltGr+E € in German and French opened the edit window; Polish AltGr+C / N / L copied, moved down, showed large type). Windows sends AltGr as Ctrl+Alt; with both held the search box's Ctrl shortcuts are off and the character is typed
  • Pinning or unpinning in the search window while Preferences was open was lost when Preferences was closed with OK; it is kept now

---

中文说明

对话框快速跳转可以用在以管理员身份运行的程序里了: 勾一个选项、确认一次 UAC, 由一个管理员权限的小助手跳转这些程序的打开 / 保存和浏览文件夹对话框, Ctrl+G / Ctrl+Shift+G、文件夹面板、自动跳转都能用, ALTRun 本身仍是普通权限。资源管理器开了多个标签页时, 现在跳到正在显示的标签页, 不再是第一个。新选项让对话框一打开就跳到最近用过的文件管理器 (在资源管理器里看完文件夹, 再到 Word 里按 Ctrl+O)。网页可以用指定的浏览器打开, 不用设成默认浏览器; 便携版浏览器的书签和历史也能搜。剪贴板历史显示复制的图片文件的缩略图 (QQ、微信)。双击左 Alt 可以呼出; 设了双击呼出或第二个热键后可以空出 Alt+Space。另外修复了 Excel 单元格作为选中内容、文件搜索只显示 50 条、搜索框里 AltGr 打字符的问题。

#### 升级

  • 一键升级: 托盘图标 → 检查更新 → 安装更新
  • 用 Scoop 安装的: scoop update altrun
  • 用 winget 安装的: winget upgrade zhugecaomao.ALTRun

#### 新增

  • 对话框快速跳转可以用在以管理员身份运行的程序里 (AppInn 论坛): 偏好设置 → 对话框跳转 → 生效的窗口, 勾选 以管理员身份运行的程序的对话框 (确认一次 UAC)。由一个管理员权限的小助手跳转 (和 CapsLock 的 "在管理员窗口里也生效" 共用一个计划任务), ALTRun 本身还是普通权限。文件夹面板、自动跳转、打开 / 保存对话框和浏览文件夹对话框都可以, Ctrl+G / Ctrl+Shift+G 也能用: ALTRun 收不到那里的按键, 由小助手接住, 只告诉 ALTRun 按了哪个快捷键。小助手只接受前台的、管理员程序的标准对话框和存在的文件夹, 不替你点打开或保存
  • 对话框打开时也跳转 (#521): 偏好设置 → 对话框跳转, 对话框打开时也跳到最近用过的文件管理器的文件夹 (默认关)。打开 / 另存为对话框刚打开时跳一次, 跳到最近用过的 Total Commander / Directory Opus / 资源管理器窗口的文件夹, 例如在资源管理器里看完文件夹再到 Word 里按 Ctrl+O; 原来的自动跳转只在从文件管理器切换到对话框时才跳。会盖掉程序自己记住的文件夹, 所以默认关; "不自动跳转的对话框" 也适用
  • 用指定的浏览器打开网页 (#505): 偏好设置 → 通用 → 浏览器, 不用把它设为默认浏览器: 书签、浏览器历史记录、网页搜索、网址类的自定义命令、选中文字里的链接、帮助页面。后面可以带参数 (例如 "C:\Apps\Vivaldi\vivaldi.exe" --new-window), 留空用默认浏览器; 网页结果显示这个浏览器的图标
  • 便携版和其他基于 Chromium 的浏览器的书签和历史记录也能搜 (#492): 偏好设置 → 功能 → 其他浏览器, 每行一个文件夹 (浏览器的 User Data 文件夹, 例如 Google Chrome Portable 的 Data\profile; 或单个用户配置文件夹)。书签 (bm) 和浏览器历史 (h) 都会包括它的各个配置; 框里显示每个文件夹找到几个配置 ("没找到配置" 说明文件夹不对)。可以用环境变量和 A_ 变量; 相对路径从 ALTRun 所在的文件夹算起, 浏览器和 ALTRun 在同一个 U 盘上时换了盘符也能找到
  • 双击左 Alt 呼出搜索窗口 (#501): 偏好设置 → 通用 → 双击呼出 → 左 Alt。只有左 Alt: 右 Alt 在法语、德语、波兰语等键盘上是 AltGr, 用来打字符。单独按一下 Alt 会打开部分程序 (记事本、资源管理器) 的菜单栏, 按第二下又关掉, 可能看到闪一下; Alt+Space、Alt+Tab 等组合不算

#### 改进

  • 呼出热键 (Alt+Space) 可以清空了 (#521): 设了第二个呼出热键或双击呼出 (例如双击 Ctrl, 和 Listary 一样) 时, 在偏好设置 → 通用的呼出热键框里按 Backspace 即可。三种都没设时仍改回 Alt+Space, 保证总能呼出 ALTRun; 托盘提示和 "已在运行" 提示显示实际能用的呼出方式
  • 剪贴板历史: 复制的图片文件显示缩略图 (#509): 复制的单个图片文件 (QQ、微信等聊天软件复制的图片一般是缓存里的文件) 显示缩略图, 不再只显示文件类型图标; 大图片和 WebP 等格式用系统缩略图, 不卡输入。缩略图默认裁出中间部分填满图标方格, 宽截图不再缩成一条细线; 偏好设置 → 剪贴板历史 → 缩略图裁切填满图标 关掉时缩小显示整张图
  • 空搜索框的置顶和最近使用分成两个选项 (#514): 偏好设置 → 搜索窗口 → 空搜索框, 显示置顶的项目 (编辑... 可以上移 / 下移 / 取消置顶) 和 显示最近使用的项目 (清空... 确认后马上清空, 置顶的不受影响), 最近使用的项目显示数量 单独一行; 可以只开一个。功能页去掉 "置顶和最近使用" 开关: 原来关掉的升级后两个都不勾; 原来最近使用个数大于 0 的照样显示
  • 偏好设置 → 剪贴板历史: 分成 历史 (退出后保留历史、保存位置)、图片 (也记录图片、保存图片数、缩略图裁切填满图标)、复制 三组; 不起作用的设置变灰; "最长字数" 后面写出单位; "立即清空历史" 先确认, 写明要删几条, 置顶的保留
  • 对话框跳转: 没开管理员选项时, 在管理员程序的打开 / 保存对话框里跳转也会提示在哪里打开 (以前只有浏览文件夹对话框提示), 每个对话框只提示一次
  • 片段在搜索结果里的第二行开头显示展开它要输入的文字 (例如 ;sig, ;signature · 粘贴片段 · ...), 输入 snip 就能看到全部片段的触发词 (AutoHotkey 论坛); 关掉自动展开或单个片段不展开时不显示
  • 管理员窗口小助手的计划任务改名为 ALTRun Admin Helper: 已有的 ALTRun CapsLock Helper 在第一次启动时由小助手自己迁移, 不弹 UAC

#### 修复

  • 资源管理器一个窗口开了几个标签页时 (#521), Ctrl+G 和自动跳转跳到第一个标签页的文件夹, 不是正在显示的; 现在跳到正在显示的那个。"在当前文件夹打开终端" 和动作面板的 "复制到 / 移动到 资源管理器 当前的文件夹" 也一样
  • Excel 单元格作为选中内容 (#513): 在 Excel 里选中单元格按 Ctrl+Alt+\ (或用 {selection} 的热键) 报 "没有选中的内容", 因为 Excel 的文字比别的格式晚到剪贴板; 现在等到有文字再读 (最多 2 秒), 读到空的再试几次; 开了调试日志时取不到会记下剪贴板里有哪些格式。真的没有选中时提示比以前晚约 1 秒
  • 只搜文件 (空格或 ' 开头) 时最多只显示 50 条, "文件搜索结果数" 设得更大不起作用; 现在按这个设置显示 (#515)
  • 搜索框里的 AltGr (AutoHotkey 论坛, 法语 AZERTY 键盘): 用 AltGr 打的字符被当成 Ctrl 快捷键 (AltGr+3 # 运行了第 3 行, AltGr+8 \ 打不出来; 德语、法语的 AltGr+E € 打开了编辑窗口; 波兰语的 AltGr+C / N / L 变成复制、下移、大字显示)。Windows 把 AltGr 当成 Ctrl+Alt, 现在两个同时按着时搜索框的 Ctrl 快捷键不起作用, 字符照常输入
  • 偏好设置开着时在搜索窗口里置顶或取消置顶, 之后在偏好设置点确定, 这次置顶的改动会丢; 现在会保留

Quick Switch now works in dialogs of programs running as administrator: tick one option, confirm UAC once, and a small helper with administrator rights jumps those Open / Save and Browse for Folder dialogs, with Ctrl+G / Ctrl+Shift+G, the folder panel and auto switch, while ALTRun itself keeps normal rights. File Explorer with several tabs now jumps to the folder of the tab shown, not the first tab. A new option jumps a dialog as soon as it opens to the file manager used last (Ctrl+O in Word after browsing a folder). Web pages can open in a browser of your choice without making it the default, and portable browsers' bookmarks and history are searchable. Clipboard history shows thumbnails of copied image files (QQ, WeChat). Double-tapping the left Alt shows ALTRun, and Alt+Space can be freed once double-tap or the second hotkey is set. Fixes for Excel cells as the selection, file search stopping at 50 results, and AltGr characters in the search box.

---

Details (in English and Chinese)

Summary

Upgrade

  • One-click upgrade: tray icon → Check for Updates → Install Update
  • Installed with Scoop: scoop update altrun
  • Installed with winget: winget upgrade zhugecaomao.ALTRun

New

  • Quick Switch in dialogs of programs running as administrator (AppInn forum): Preferences → Quick Switch → Works in, tick Dialogs of programs running as administrator (confirm UAC once). A small helper with administrator rights does the jump (one scheduled task, shared with Caps Lock's "also in administrator windows"); ALTRun itself keeps normal rights. The folder panel, auto switch, Open / Save and Browse for Folder dialogs all work, and so do Ctrl+G / Ctrl+Shift+G: ALTRun can't get the keys there, so the helper takes them and only tells ALTRun which one was pressed. The helper only takes the standard dialog in front, of a program running as administrator, and a folder that exists; it never clicks Open or Save for you
  • Jump when a dialog opens (#521): Preferences → Quick Switch, Also jump when a dialog opens, to the file manager used last (off by default). An Open / Save dialog that has just opened jumps once to the folder of the Total Commander / Directory Opus / File Explorer window used last, for example Ctrl+O in Word after browsing a folder in Explorer; auto switch alone only jumps when you switch from a file manager to the dialog. It overrides the folder the program remembers, so it is off by default; No auto jump in applies to it too
  • Open web pages in a browser of your choice (#505): Preferences → General → Browser, without making it the default browser: bookmarks, browser history, web searches, URL custom commands, links in the selected text and the help pages. Parameters can follow (for example "C:\Apps\Vivaldi\vivaldi.exe" --new-window); empty = the default browser. Web results show that browser's icon
  • Bookmarks and history of portable and other Chromium browsers (#492): Preferences → Features → Other browsers, one folder per line (a browser's User Data folder, such as Google Chrome Portable's Data\profile, or a single profile folder). Bookmarks (bm) and browser history (h) include all its profiles; the box shows how many profiles each folder has ("no profile found" means the wrong folder). Environment and A_ variables work; a relative path starts from ALTRun's folder, so a browser on the same USB drive is found under another drive letter too
  • Double-tap the left Alt to show the search window (#501): Preferences → General → Double-tap → Left Alt. The left one only: the right Alt is AltGr on French, German, Polish and other keyboards. A single Alt press opens the menu bar of some programs (Notepad, Explorer) and the second press closes it, so it may flash; Alt+Space, Alt+Tab and other combinations don't count

Improvements

  • The ALTRun hotkey (Alt+Space) can be cleared (#521) once the second hotkey or double-tap (for example double Ctrl, as in Listary) is set: Backspace in the box in Preferences → General. With none of the three, Alt+Space comes back, so ALTRun can always be shown; the tray tip and the "already running" note show the way that works
  • Clipboard history: thumbnails of copied image files (#509): a single copied image file (QQ, WeChat and other chat programs copy pictures as files in their cache) shows its thumbnail instead of the file type icon; large pictures and formats like WebP use the system thumbnails, so typing doesn't stall. Thumbnails fill the icon square by default, cropped to the middle, so a wide screenshot is no longer a thin line; Preferences → Clipboard History → Crop thumbnails to fill the icon off shows the whole picture smaller
  • Pinned and recent items in the empty search box are two choices (#514): Preferences → Search Window → Empty search box, Show pinned items (Edit... moves them up / down or unpins) and Show recently used items (Clear... empties the list at once after confirming, pinned ones stay), with Number of recent items to show on its own line; either can be on alone. The Features page's "Pinned and recent" switch is gone: if it was off, both are unticked after the upgrade; a recent count above 0 keeps showing them
  • Preferences → Clipboard History: grouped into History (keep history after exit, save location), Images (also record images, images to keep, crop thumbnails) and Copy; settings that have no effect are grayed out; Max length shows its unit; Clear History Now asks first, saying how many items go (pinned ones stay)
  • Quick Switch: without the administrator option, a jump in an Open / Save dialog of a program running as administrator now explains where to turn it on (before, only Browse for Folder dialogs did), once per dialog
  • Snippets in the results start their second line with the text that expands them (;sig, ;signature · Paste snippet · ...), so typing snip lists every trigger (AutoHotkey forum); not shown when auto-expand is off for the snippet
  • The scheduled task of the administrator helper is renamed ALTRun Admin Helper; an existing ALTRun CapsLock Helper is moved over by the helper itself on the first start, without a UAC prompt

Fixes

  • File Explorer with several tabs in one window (#521): Ctrl+G and auto switch jumped to the folder of the first tab, not the tab shown; now the tab shown. "Open Terminal at Current Folder" and the actions "Copy / Move to Current Folder in Explorer" too
  • Excel cells as the selection (#513): Ctrl+Alt+\ (or a hotkey with {selection}) on selected cells said nothing was selected, because Excel puts its text on the clipboard later than other formats; ALTRun now waits for the text (up to 2 s) and tries again when it is empty, and with logging on writes which clipboard formats it found. With nothing selected, the hint comes about 1 s later than before
  • File search only (a leading space or ') showed at most 50 results whatever File search results was set to; it follows the setting now (#515)
  • AltGr in the search box (AutoHotkey forum, French AZERTY): characters typed with AltGr were taken as Ctrl shortcuts (AltGr+3 # ran the third row, AltGr+8 \ typed nothing; AltGr+E € in German and French opened the edit window; Polish AltGr+C / N / L copied, moved down, showed large type). Windows sends AltGr as Ctrl+Alt; with both held the search box's Ctrl shortcuts are off and the character is typed
  • Pinning or unpinning in the search window while Preferences was open was lost when Preferences was closed with OK; it is kept now

中文说明

对话框快速跳转可以用在以管理员身份运行的程序里了: 勾一个选项、确认一次 UAC, 由一个管理员权限的小助手跳转这些程序的打开 / 保存和浏览文件夹对话框, Ctrl+G / Ctrl+Shift+G、文件夹面板、自动跳转都能用, ALTRun 本身仍是普通权限。资源管理器开了多个标签页时, 现在跳到正在显示的标签页, 不再是第一个。新选项让对话框一打开就跳到最近用过的文件管理器 (在资源管理器里看完文件夹, 再到 Word 里按 Ctrl+O)。网页可以用指定的浏览器打开, 不用设成默认浏览器; 便携版浏览器的书签和历史也能搜。剪贴板历史显示复制的图片文件的缩略图 (QQ、微信)。双击左 Alt 可以呼出; 设了双击呼出或第二个热键后可以空出 Alt+Space。另外修复了 Excel 单元格作为选中内容、文件搜索只显示 50 条、搜索框里 AltGr 打字符的问题。

#### 升级

  • 一键升级: 托盘图标 → 检查更新 → 安装更新
  • 用 Scoop 安装的: scoop update altrun
  • 用 winget 安装的: winget upgrade zhugecaomao.ALTRun

#### 新增

  • 对话框快速跳转可以用在以管理员身份运行的程序里 (AppInn 论坛): 偏好设置 → 对话框跳转 → 生效的窗口, 勾选 以管理员身份运行的程序的对话框 (确认一次 UAC)。由一个管理员权限的小助手跳转 (和 CapsLock 的 "在管理员窗口里也生效" 共用一个计划任务), ALTRun 本身还是普通权限。文件夹面板、自动跳转、打开 / 保存对话框和浏览文件夹对话框都可以, Ctrl+G / Ctrl+Shift+G 也能用: ALTRun 收不到那里的按键, 由小助手接住, 只告诉 ALTRun 按了哪个快捷键。小助手只接受前台的、管理员程序的标准对话框和存在的文件夹, 不替你点打开或保存
  • 对话框打开时也跳转 (#521): 偏好设置 → 对话框跳转, 对话框打开时也跳到最近用过的文件管理器的文件夹 (默认关)。打开 / 另存为对话框刚打开时跳一次, 跳到最近用过的 Total Commander / Directory Opus / 资源管理器窗口的文件夹, 例如在资源管理器里看完文件夹再到 Word 里按 Ctrl+O; 原来的自动跳转只在从文件管理器切换到对话框时才跳。会盖掉程序自己记住的文件夹, 所以默认关; "不自动跳转的对话框" 也适用
  • 用指定的浏览器打开网页 (#505): 偏好设置 → 通用 → 浏览器, 不用把它设为默认浏览器: 书签、浏览器历史记录、网页搜索、网址类的自定义命令、选中文字里的链接、帮助页面。后面可以带参数 (例如 "C:\Apps\Vivaldi\vivaldi.exe" --new-window), 留空用默认浏览器; 网页结果显示这个浏览器的图标
  • 便携版和其他基于 Chromium 的浏览器的书签和历史记录也能搜 (#492): 偏好设置 → 功能 → 其他浏览器, 每行一个文件夹 (浏览器的 User Data 文件夹, 例如 Google Chrome Portable 的 Data\profile; 或单个用户配置文件夹)。书签 (bm) 和浏览器历史 (h) 都会包括它的各个配置; 框里显示每个文件夹找到几个配置 ("没找到配置" 说明文件夹不对)。可以用环境变量和 A_ 变量; 相对路径从 ALTRun 所在的文件夹算起, 浏览器和 ALTRun 在同一个 U 盘上时换了盘符也能找到
  • 双击左 Alt 呼出搜索窗口 (#501): 偏好设置 → 通用 → 双击呼出 → 左 Alt。只有左 Alt: 右 Alt 在法语、德语、波兰语等键盘上是 AltGr, 用来打字符。单独按一下 Alt 会打开部分程序 (记事本、资源管理器) 的菜单栏, 按第二下又关掉, 可能看到闪一下; Alt+Space、Alt+Tab 等组合不算

#### 改进

  • 呼出热键 (Alt+Space) 可以清空了 (#521): 设了第二个呼出热键或双击呼出 (例如双击 Ctrl, 和 Listary 一样) 时, 在偏好设置 → 通用的呼出热键框里按 Backspace 即可。三种都没设时仍改回 Alt+Space, 保证总能呼出 ALTRun; 托盘提示和 "已在运行" 提示显示实际能用的呼出方式
  • 剪贴板历史: 复制的图片文件显示缩略图 (#509): 复制的单个图片文件 (QQ、微信等聊天软件复制的图片一般是缓存里的文件) 显示缩略图, 不再只显示文件类型图标; 大图片和 WebP 等格式用系统缩略图, 不卡输入。缩略图默认裁出中间部分填满图标方格, 宽截图不再缩成一条细线; 偏好设置 → 剪贴板历史 → 缩略图裁切填满图标 关掉时缩小显示整张图
  • 空搜索框的置顶和最近使用分成两个选项 (#514): 偏好设置 → 搜索窗口 → 空搜索框, 显示置顶的项目 (编辑... 可以上移 / 下移 / 取消置顶) 和 显示最近使用的项目 (清空... 确认后马上清空, 置顶的不受影响), 最近使用的项目显示数量 单独一行; 可以只开一个。功能页去掉 "置顶和最近使用" 开关: 原来关掉的升级后两个都不勾; 原来最近使用个数大于 0 的照样显示
  • 偏好设置 → 剪贴板历史: 分成 历史 (退出后保留历史、保存位置)、图片 (也记录图片、保存图片数、缩略图裁切填满图标)、复制 三组; 不起作用的设置变灰; "最长字数" 后面写出单位; "立即清空历史" 先确认, 写明要删几条, 置顶的保留
  • 对话框跳转: 没开管理员选项时, 在管理员程序的打开 / 保存对话框里跳转也会提示在哪里打开 (以前只有浏览文件夹对话框提示), 每个对话框只提示一次
  • 片段在搜索结果里的第二行开头显示展开它要输入的文字 (例如 ;sig, ;signature · 粘贴片段 · ...), 输入 snip 就能看到全部片段的触发词 (AutoHotkey 论坛); 关掉自动展开或单个片段不展开时不显示
  • 管理员窗口小助手的计划任务改名为 ALTRun Admin Helper: 已有的 ALTRun CapsLock Helper 在第一次启动时由小助手自己迁移, 不弹 UAC

#### 修复

  • 资源管理器一个窗口开了几个标签页时 (#521), Ctrl+G 和自动跳转跳到第一个标签页的文件夹, 不是正在显示的; 现在跳到正在显示的那个。"在当前文件夹打开终端" 和动作面板的 "复制到 / 移动到 资源管理器 当前的文件夹" 也一样
  • Excel 单元格作为选中内容 (#513): 在 Excel 里选中单元格按 Ctrl+Alt+\ (或用 {selection} 的热键) 报 "没有选中的内容", 因为 Excel 的文字比别的格式晚到剪贴板; 现在等到有文字再读 (最多 2 秒), 读到空的再试几次; 开了调试日志时取不到会记下剪贴板里有哪些格式。真的没有选中时提示比以前晚约 1 秒
  • 只搜文件 (空格或 ' 开头) 时最多只显示 50 条, "文件搜索结果数" 设得更大不起作用; 现在按这个设置显示 (#515)
  • 搜索框里的 AltGr (AutoHotkey 论坛, 法语 AZERTY 键盘): 用 AltGr 打的字符被当成 Ctrl 快捷键 (AltGr+3 # 运行了第 3 行, AltGr+8 \ 打不出来; 德语、法语的 AltGr+E € 打开了编辑窗口; 波兰语的 AltGr+C / N / L 变成复制、下移、大字显示)。Windows 把 AltGr 当成 Ctrl+Alt, 现在两个同时按着时搜索框的 Ctrl 快捷键不起作用, 字符照常输入
  • 偏好设置开着时在搜索窗口里置顶或取消置顶, 之后在偏好设置点确定, 这次置顶的改动会丢; 现在会保留

完整更新日志 →Full changelog →