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

Popclip 直接调用 Alfred 的 YoudaoTranslator 翻译

  •  
  •   luistrong · Oct 12, 2022 · 819 views
    This topic created in 1293 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   ·   5902 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 03:34 · PVG 11:34 · LAX 20:34 · JFK 23:34
    ♥ Do have faith in what you're doing.