【发布时间】:2018-08-03 02:09:30
【问题描述】:
使用 Automator,我想对选定的文本进行谷歌搜索,但选定的文本应该在引号内!
我不知道如何让脚本在所选文本(输入)上加上引号,例如“所选文本”。
on run {input, parameters}
open location "https://www.google.com/search?q=" & input
end run
编辑
这是解决方案:
on run {input, parameters}
open location "https://www.google.com/search?q=" & quote & input & quote
end run
【问题讨论】:
-
@aaplmath 没有重复。