luistrong
V2EX  ›  Apple

这段谷歌学术搜索的 AppleScript 哪里有问题呢?

  •  
  •   luistrong · Feb 24, 2020 · 1698 views
    This topic created in 2274 days ago, the information mentioned may be changed or developed.

    open "http:scholar.google.com/scholar?hl=zh-CN&q=$(cat | ruby -e 'require "cgi"; print CGI.escape($<.read.chomp)’)"

    目的是对选中的文本通过快捷键进行谷歌学术搜索,

    这是之前收藏的,本来用的好好的,但现在提示有问题,请大神看看哪里有问题呢?

    troyl
        1
    troyl  
       Feb 25, 2020 via iPhone
    `http:` 后面不用加 `//` 吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   866 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 20:49 · PVG 04:49 · LAX 13:49 · JFK 16:49
    ♥ Do have faith in what you're doing.