我正在尝试制作一个可以为您进行谷歌搜索的脚本,但如果我进行多个单词搜索,它就不起作用。有人知道怎么修这个东西吗?
set keyword to text returned of (display dialog "Enter Search Query" default answer "")
display dialog "Enter Search Query" buttons {"Cancel", "Ok"} default button 2
if the button returned of the result is "Ok" then
open location "http://search.yahoo.com/search?p=" & keyword
end if