JaderoChan/OpenCmdAnywhere
一个简单的小程序,它能够帮助你通过快捷键以“当前窗口的可执行文件所在目录”为工作路径打开命令行程序,此外若当前窗口是文件管理器,它能够以文件管理器所在文件夹作为工作路径,而不用右键点击选择“在此处打开命令行”。
一个简单的小程序,它能够帮助你通过快捷键以“当前窗口的可执行文件所在目录”为工作路径打开命令行程序,此外若当前窗口是文件管理器,它能够以文件管理器所在文件夹作为工作路径,而不用右键点击选择“在此处打开命令行”。
No GitHub topics on this repo.
- C++73.3%
- CMake13.3%
- Objective-C++5.9%
- C5.4%
- Shell1.5%
- Batchfile0.6%
1 Review
OpenCmdAnywhere is a focused little utility with a very clear workflow: press a global hotkey and open a command-line program in the directory that matches the current foreground window, with special handling for Explorer/Finder-style file managers. The implementation feels more substantial than the small README suggests. The Qt/CMake structure is tidy, with app concerns split into tray UI, settings, hotkey handling, logging, language support, and platform-specific code under src/platforms. The Windows foreground-directory logic, in particular, shows real attention to edge cases: it distinguishes normal windows from Explorer/desktop windows, uses Win32/COM APIs to resolve the active folder, and falls back to the executable directory when appropriate. The project also has practical user-facing touches such as English/Chinese translations, startup behavior, a tray menu, packaged icons, portable Windows builds, and macOS DMG releases.
The biggest adoption issue is documentation. The README explains the idea and dependencies, but it does not yet tell a new user how to install, configure the hotkey, choose the command executable, build from source, initialize submodules, or troubleshoot platform permissions. Since the repo depends on Qt plus two submodules, a short build section with exact CMake commands would help a lot. I also did not see CI workflows or automated tests, which matters for a tool that relies on brittle OS integration APIs. Even a lightweight GitHub Actions build for Windows/macOS, plus a few small tests around settings/language parsing, would raise confidence. The project is MIT licensed, recently maintained, and has releases available, so it already has the bones of a useful open-source desktop utility. A fuller README and basic release/build automation would make it much easier for people beyond the maintainer to trust and contribute to it.
