Created
January 6, 2020 22:18
-
-
Save agragregra/f3a2c89eb31164ec57b63f07c0af7f9d to your computer and use it in GitHub Desktop.
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
on run {input, parameters} | |
set phrase to input as string | |
set phrase to quoted form of phrase | |
set ui_lang to "ru" | |
set from_lang to "auto" | |
set to_lang to "ru" | |
do shell script "open 'https://translate.google.com/?hl='" & ui_lang & "'&sl='" & from_lang & "'&tl='" & to_lang & "'&text='" & phrase | |
end run |
This doesn't seem to work in Big Sur 11.1. Any thoughts why?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Очень хорошо, а как использовать в альфреде? Вместо trans?