V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
jiaming1992
V2EX  ›  Electron

utools 如何实现在其他应用中输入内容的

  •  
  •   jiaming1992 · Sep 8, 2020 · 2815 views
    This topic created in 2063 days ago, the information mentioned may be changed or developed.

    utools 应该是基于 Electron 开发的 最近看到 utools 有个超级面板功能,可以通过在其他 app 界面上长按鼠标右键开启语音输入,将内容输入到其他 app 内,那么这是怎么实现的呢,基于 Electron 提供的 api 可以实现吗,还是需要一些原生开发?

    2 replies    2020-09-09 17:04:18 +08:00
    127000
        1
    127000  
       Sep 8, 2020
    如果想要在渲染进程内使用 GUI 操作,可以与主进程产生通讯,请求主进程调用相应的 API 来操作。
    Electron 介绍(理论篇)
    https://blog.xiekaifei.com/2019/electron-desc.html
    jiaming1992
        2
    jiaming1992  
    OP
       Sep 9, 2020
    原来是这样
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2507 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 06:48 · PVG 14:48 · LAX 23:48 · JFK 02:48
    ♥ Do have faith in what you're doing.