Advertisement
Guest User

Any to En

a guest
Feb 8th, 2014
1,912
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on run argv
  2.     set tex to item 1 of argv
  3.     set tex to do shell script "php -r 'echo trim(urlencode(" & "\"" & tex & "" & "\"));'"
  4.     do shell script "open http://translate.google.com/#auto/en/" & tex
  5. end run
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement