0323名称未設定
2016/11/15(火) 14:04:58.46ID:2kV9axOX0どうもありがとう
選択項目が「テキスト」
検索対象が「すべてのアプリケーション」にする場合、
これってどこをどう変えればいいんでしょう?
(&tbm=ischつける位置は、ここでいいと思うのですが……)
on run {input, parameters}
repeat with i from 1 to count of input
tell application "Finder"
set q to name of item i of input
end tell
set eQ to do shell script "echo " & quoted form of q & " | perl -MURI::Escape -lne 'print uri_escape($_)'"
open location "https://www.google.com/search?&tbm=isch&q=" & eQ & "&ie=UTF-8&oe=UTF-8"
end repeat
return input
end run