V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
luistrong
V2EX  ›  macOS

Popclip 直接调用 Alfred 的 YoudaoTranslator 翻译

  •  
  •   luistrong · 2022-10-12 11:14:17 +08:00 · 367 次点击
    这是一个创建于 573 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Popclip 调用 Alfred 命令如下:

    tell application id "com.runningwithcrayons.Alfred" to search "{popclip text}"

    YoudaoTranslator 在 Alfred 的激发方式是单字母 s+空格,

    那么, 请问如何修改上述命令使 Popclip 调出 Alfred 时直接激发 YoudaoTranslator, 即 Alfred 框中是

    s+空格+所选文本

    luistrong
        1
    luistrong  
    OP
       2022-10-12 11:23:39 +08:00
    已解决
    tell application id "com.runningwithcrayons.Alfred" to search "s {popclip text}"
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5689 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 08:39 · PVG 16:39 · LAX 01:39 · JFK 04:39
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.