ScreenCapture icon indicating copy to clipboard operation
ScreenCapture copied to clipboard

保存工具的使用状态

Open nophDog opened this issue 7 months ago • 4 comments

当使用 --path:"D:/doc" 指定截图保存文件夹时,能否在退出时返回截图的完整路径(例如:D:/doc/Img20250508171325367.png),方便其它调用程序(例如:Quicker)进一步处理。

nophDog avatar May 08 '25 09:05 nophDog

既然是其它程序在使用ScreenCapture,那为什么不让那个程序指定文件名呢?

--path:"D:/doc/Img20250508171325367.png"

xland avatar May 08 '25 09:05 xland

那为什么不让那个程序指定文件名呢

确实可以直接指定文件名,但我觉得在指定文件夹的情况下,返回截图保存的路径显然更合理,这个选项也是有使用场景的。

nophDog avatar May 08 '25 11:05 nophDog

目前ScreenCapture进程的返回值都是整型数字

xland avatar May 08 '25 12:05 xland

目前ScreenCapture进程的返回值都是整型数字

好的。

还有一个建议:保存工具的使用状态,例如颜色、形状是否填充等。目前工具的状态会重置,每次都需要重新选择。

nophDog avatar May 08 '25 14:05 nophDog