Selected text language switcher

An Alfred Workflow


Short Description

Switches language of selected text (currently russian to english and english to russian)

Last Updated

28 Sep 2018

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

0.2
 

Bundle ID

io.humanfarm
 

Author

What is this?

This is an Alfred Workflow script, written by Jeffrey Smith 2016, which uses apple script language to convert language of selected text. Similar to what Punto Switcher does, but it's russian and can't be trusted.

Currently it supports Russian to English and English to Russian conversion.

The script switches the language after conversion, so you can continue typing in the correct language. It also restores your clipboard to previous state after conversion.

How to install?

Download the .workflow file and double click to add it to Alfred. The Workflow uses Alt + Shift + Z hotkey to convert.

My flow is like this:

I start typing something I realize I'm typing in the worng language I press ALT + SHIFT + LEFT to select the word I typed worng I press ALT + SHIFT + Z to convert

You can download the .scpt file to see how the script works in applescript and tune it to your liking.

Ver 0.2

Capital letters now converted to capital letters Clipboard state is restored

Known bugs

Can't convert multiple languages in selection

You are welcome to contribute. J.S.

Screenshots