Giter VIP home page Giter VIP logo

Comments (9)

Freddd13 avatar Freddd13 commented on July 17, 2024

录制问题好像没有了,但是还是没法和snipaste一起用。。 不知道它是啥机制,用了snipaste后这里的快捷键就会失效

from umi-ocr.

Freddd13 avatar Freddd13 commented on July 17, 2024

受到snipaste的issue启发,我好像找到问题了。
我在 snipaste中启用了 以管理员身份运行
而这时只要也以管理员权限运行 umi-ocr 就不会被影响了。
如果关闭snipaste这个选项,那么 umi-ocr 也不会出现这个问题。

所以可以仿 snipaste 加个这个选项:(注意它这个开机以管理员启动不会弹窗让用户确认)
image

from umi-ocr.

hiroi-sora avatar hiroi-sora commented on July 17, 2024

@Freddd13

只要snipaste不在前台(打开设置窗口或者焦点在贴图上),无管理员权限的umi是可以收到按键事件的。
问题在于snipaste按F1截图时,umi接收到了按键按下事件却没收到抬起事件,导致她认为F1一直在按下。即使snipaste截图完毕退出前台了,umi仍不能响应正确的快捷键。

我改了一下,放宽了触发的确认标准。可以实现snipaste按F1截图、ctrl+c复制后按F2唤起umiocr,如下图,不需要管理员权限。你再试一下alpha2版。

(前提是snipaste不能在前台,比如打开设置窗口或选中某个贴图窗口)

image

from umi-ocr.

Freddd13 avatar Freddd13 commented on July 17, 2024

可以了~ 直接那个录制我也觉得F1一直没释放才出现组合键,不过想不明白为啥会这样,另外为啥管理员的OCR就可以响应 = =

from umi-ocr.

Freddd13 avatar Freddd13 commented on July 17, 2024

另外有几个点

  1. 如果剪贴板不是图片是不是也应该把窗口弹出来?
  2. 开机启动能不能不弹出来直接最小化在托盘?

from umi-ocr.

hiroi-sora avatar hiroi-sora commented on July 17, 2024

剪贴板不是图片也应该把窗口弹出来

我当初故意写成没有任务则不弹出的。不过你说的也有道理,操作失败也应该有点反馈。改回来了。

开机启动直接最小化在托盘

感觉必要性不大吧……虽然可以做,但想了下,不太想在设置页多塞一组选项 b38

为啥管理员的热键就可以响应

可能对面软件设了阻止按键事件传递,收到按键后过河拆桥,不让继续转发。我这边本来应该收不到,提高权限之后就能绕过(或者说先于对面收到事件)了。

from umi-ocr.

Freddd13 avatar Freddd13 commented on July 17, 2024

from umi-ocr.

bitjerry avatar bitjerry commented on July 17, 2024

能否增加以管理员身份运行选项, 开机就自动以管理员身份运行. 当我设置为f1截图快捷键时, chrome的f1快捷键会被唤起, 版本为1.3.2

from umi-ocr.

hiroi-sora avatar hiroi-sora commented on July 17, 2024

能否增加以管理员身份运行选项, 开机就自动以管理员身份运行. 当我设置为f1截图快捷键时, chrome的f1快捷键会被唤起, 版本为1.3.2

收到√ 类似问题可关注 issues #84

from umi-ocr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.