Overview
dsh-file-handover
Hand a local file to any program's file picker: wait for the native Open dialog, fill the path through UI Automation, read it back to verify, then confirm. The target is always explicit — never guessed.
README / EN
Package documentation
Registry summary
Hand a local file to any program's file picker: wait for the native Open dialog, fill the path through UI Automation, read it back to verify, then confirm. The target is always explicit — never guessed.
dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.
Read the full README on GitHubLIMITATIONS
Known limitations
- **仅 Windows**:依赖 `EnumWindows` / UI Automation / `powershell.exe`。 - **只认系统原生文件对话框**(窗口类 `#32770`):应用自己画的(自绘)选择器不适用。 - **冷启动有开销**:每次调用会起一个 PowerShell 进程(数百毫秒到两秒)。 - **它不负责"触发"**:打开对话框的那一下(点按钮、快捷键、菜单)要由调用方先做 —— 这样"目标显式"才守得住。
