COMMAND_LIST ACTIVATION_MODE act_selected_or_clipboard_text COMMAND set unescapeScript to "require 'uri'; print URI.unescape($_)" set escapeScript to "require 'cgi'; print CGI.escape($_)" set unescapeText to (do shell script "echo -n " & (quoted form of " __OBJ_TEXT__ ") & " | ruby -n -e " & quoted form of unescapeScript) as Unicode text set textReturned to text returned of (display dialog "" default answer unescapeText) set escapeText to (do shell script "echo -n " & (quoted form of textReturned) & " | ruby -n -e " & quoted form of escapeScript) as Unicode text set googleURL to ("http://www.google.com/search?q=" & escapeText) open location googleURL ESCAPE_SPECIAL_CHARS esc_with_percent EXECUTION_MODE exe_applescript NAME Google で検索 (dialog) REQUIRED_MAC_OS_MIN_VERSION 10.1 REQUIRED_OMC_VERSION 1.3.1 SUBMENU_NAME Google で検索 VERSION 2 VERSION 2