在日常使用电脑时,经常需要临时记录一些信息。
如果有一个能置顶的小窗口,不影响其他视频或软件的使用,我就能快速地输入文字。
很多年前,我曾用 VC6.0 + MFC 实现过这个小工具,名为 Todo.
而现在,我用 Python 重写了这个软件,名为 Smart.
When using a computer daily, I often need to jot down some information temporarily.
If there is a pinned small window that does not interfere with other videos or software, I can quickly input text.
Many years ago, I implemented this small tool named Todo using VC6.0 + MFC.
Now, I have rewritten this software in Python, named Smart.

Smart 是一个绿色的,小巧的,聪明的桌面工具集。
Ctrl+~ 快速呼出或者隐藏,这个快捷键也可以在 config.json 中自定义。
Ctrl+F 指定保存的文件。可以选择云盘上的文件,可以在 config.json 中使用环境变量和相对路径,轻松实现跨平台同步。
Ctrl+O 用默认的文本编辑器打开这个文件。当你需要更复杂的编辑时,你可以快速调用其他文本编辑器,如 Sublime Text.
Ctrl+D 快速输出当前的日期,如 2026-05-02.
Ctrl+G 可以快速打开网址或者搜索光标附近的文本,也可以精确选中一段文本后使用。
Ctrl+L 锁定编辑,防止误操作。
Ctrl+M 居中显示,并且把高度和宽度设置为屏幕的一半大小。再按一次,恢复到默认位置。
Smart is a portable, compact, and smart desktop tool suite.
Ctrl+~ quickly summons or hides it, and this hotkey can also be customized in config.json.
Ctrl+F specifies the file to save. You can choose a file on a cloud drive. Using environment variables and relative paths in config.json makes cross-platform synchronization easy.
Ctrl+O opens this file with the default text editor. When you need more complex editing, you can quickly invoke other text editors, such as Sublime Text.
Ctrl+D quickly outputs the current date, e.g., 2026-05-02.
Ctrl+G can quickly open a URL or search for text near the cursor, and it can also be used after precisely selecting a block of text.
Ctrl+L locks editing to prevent accidental operations.
Ctrl+M centers the window and sets its height and width to half of the screen. Press it again to restore the default position.

主窗口的标题栏,大小和位置,都可以非常灵活的定制。
标题栏支持实时显示时分秒,日期,自定义文本,可调整顺序或设置分隔符。
可以把主窗口设置为理想的大小和位置后,获取数值并保存。这样下次会按照设置启动。
由于实时显示主窗口大小和位置的数值,也可以用来进行简单的像素测量。
The title bar, size, and position of the main window can be customized very flexibly.
The title bar supports real-time display of hours, minutes, seconds, date, and custom text, with adjustable order or settable separators.
After setting the main window to the desired size and position, you can obtain and save the values, so it will start according to the settings next time.
Since the main window’s size and position values are displayed in real-time, it can also be used for simple pixel measurement.

在 Smart 打开的情况下,会自动记录复制到剪贴板的内容,如果复制的是文件,会记录文件名。
Ctrl+B 呼出剪贴板管理,会按照先后顺序列出剪贴板历史。
双击鼠标左键可以快速复制,Ctrl+P 可以 Pin 某一条,实现永久保存。
支持模糊,通配符,正则表达式三种搜索方式来搜索剪贴板历史。
When Smart is open, it automatically records content copied to the clipboard. If files are copied, it records the filenames.
Ctrl+B summons clipboard management, listing clipboard history in chronological order.
Double-click the left mouse button to quickly copy. Ctrl+P can pin a specific item for permanent storage.
Supports three search methods to search clipboard history: fuzzy, wildcard, and regular expression.

Ctrl+T 呼出计时器。
有两种计时器,倒计时和特定时间。
倒计时支持快速预设和便捷重用。我一般用于工作一段时间后提醒喝水或者休息。
特定时间计时器,支持周期重复,如每天,工作日,周末等。
Ctrl+T summons a timer.
There are two types of timers: countdown and specific time.
Countdown supports quick presets and convenient reuse. I usually use it to remind myself to drink water or take a breakafter working for a while.
The specific time timer supports repeating cycles, such as daily, weekdays, weekends, etc.
一些设计亮点:
提供了丰富的快捷键操作。
界面交互上有很多细节设计,为了让用起来更方便。
Some design highlights:
Provides abundant hotkey operations.
There are many detailed designs in the interface interaction to make it more convenient to use.
本软件为便携软件,解压即可运行,无需安装。其内容如下:
smart.exe – 软件主程序,直接运行此文件启动。
readme.html – 说明文档(包含中文与英文的使用帮助)。
config.json – 推荐的配置文件模板,您可按需修改。
lang.json – 软件界面的中文语言文件(仅中文版包含)。
This is a portable application. Simply extract the package and run it, no installation required. It includes:
smart.exe – The main program. Launch this to start.
readme.html – Documentation containing usage instructions in both Chinese and English.
config.json – A recommended configuration template. You can customize it as needed.
lang.json – The Chinese language file for the software interface (included only in the Chinese version).