This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Automator Service for passing selected text (after selection the service from context menu) to google translate (works in Google Chrome, OS X 10.10 still up-to-date) | |
on run {input} | |
set inputText to input as string | |
tell application "Google Chrome" | |
activate | |
set theUrl to "http://translate.google.com#nl/en/" & inputText | |