luistrong
V2EX  ›  macOS

Popclip 直接调用 Alfred 的 YoudaoTranslator 翻译

  •  
  •   luistrong · Oct 12, 2022 · 909 views
    This topic created in 1343 days ago, the information mentioned may be changed or developed.

    Popclip 调用 Alfred 命令如下:

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

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

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

    s+空格+所选文本

    luistrong
        1
    luistrong  
    OP
       Oct 12, 2022
    已解决
    tell application id "com.runningwithcrayons.Alfred" to search "s {popclip text}"
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1132 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 23:11 · PVG 07:11 · LAX 16:11 · JFK 19:11
    ♥ Do have faith in what you're doing.