Using Unicode with AutoKey

360 views
Skip to first unread message

Joe

unread,
Sep 11, 2016, 11:25:36 PM9/11/16
to AutoKey Users
I just found this on stackexchange about using Unicode with AutoKey. I
think a number of our posters may find it useful.

http://askubuntu.com/questions/555055/how-to-make-autokey-type-unicode-characters

Joe

Michael Miro

unread,
Sep 13, 2016, 8:16:26 AM9/13/16
to autokey-users
At the moment Autokey doesn't work if I use it while I'm in russian(cyrillic) keyboard layout. Will this Unicode trick help with this problem?

Joe

unread,
Sep 13, 2016, 2:12:07 PM9/13/16
to autoke...@googlegroups.com
What version of AutoKey are you running?

0.90.4.1 - which AFAIK is only available from GitHub included a number
of fixes for Unicode issues.

Also, the Python 3 branch of AutoKey is said to work better with Unicode
because of enhancements to Python.

Joe
> <http://askubuntu.com/questions/555055/how-to-make-autokey-type-unicode-characters>
>
>
> Joe
>
> --
> You received this message because you are subscribed to the Google
> Groups "autokey-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to autokey-user...@googlegroups.com
> <mailto:autokey-user...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Michael Miro

unread,
Sep 13, 2016, 2:22:46 PM9/13/16
to autokey-users
I'm on 0.90.4.

About Python branch I'm not sure if it was it but recently I was reinstalling AutoKey and decided to try some other version (I don't remember what it was called) and after I saw that it needs 280Mb space on hard drive I decided to use same version as before. Wasn't it this Python version?

Joe

unread,
Sep 13, 2016, 9:53:07 PM9/13/16
to autoke...@googlegroups.com
That's too vague to answer.

Here's what I do know:

AutoKey is based on Python 2.7.x. I'm told that one of the many
improvements to Python 3.x is better handling of Unicode characters.

Most distros probably have AutoKey 0.90.4 in their repositories. I have
heard about one that has switched to the Python 3 branch. It may have
been Arch, but I don't remember.

If you want AutoKey 0.90.4.1, the only place to get it that I'm sure of
is from our GitHub project page - https://github.com/autokey/autokey .
(It was added to the PPA for Ubuntu 14.04, but I'm not sure if that
works any more.) 0.90.4.1 was an informal bug fix release. I know that
several issues relating to Unicode were addressed.

The Python 3 branch has its own project page on GitHub -
https://github.com/guoci/autokey-py3 . Notably, they still have a
developer, so things get enhanced and fixed. (And when you ask questions
whose answers involve knowing AutoKey internals, there's someone there
who can answer them.)

I'm waiting on one of our list members to write up his install process
for autokey-py3 as I ran into difficulties trying to install it and did
not take the time to work through them.

Joe

C Fox

unread,
Jan 5, 2017, 9:17:17 AM1/5/17
to autokey-users
May be this can help:

clipboard.fill_clipboard(u"строка")
keyboard.send_keys('<ctrl>+v')

?

вторник, 13 сентября 2016 г., 15:16:26 UTC+3 пользователь Michael Miro написал:

Joe

unread,
Jan 5, 2017, 1:27:02 PM1/5/17
to autoke...@googlegroups.com
If C Fox's suggestion doesn't work for you:

The latest version of AutoKey (0.90.4-1 or 0.91.1- depending on where
you get it) has a number of fixes in it for dealing with Unicode
characters. Make sure you have the latest version. See:

https://github.com/autokey/autokey/wiki/Installing-from-GitHub

Alternatively, you can try the Python 3 fork of this project. Python 3
has many enhancements over Python 2, one of which is greatly improved
handling of multibyte character sets like Unicode. See:

https://github.com/guoci/autokey-py3

Joe
> <http://askubuntu.com/questions/555055/how-to-make-autokey-type-unicode-characters>
>
>
> Joe

C Fox

unread,
Jan 5, 2017, 8:16:02 PM1/5/17
to autokey-users
indeed, autokey-py3  is better :)

for ubuntu works:
pip3 install --user autokey-py3

from here:

четверг, 5 января 2017 г., 21:27:02 UTC+3 пользователь Joe написал:

Joe

unread,
Jan 5, 2017, 9:20:44 PM1/5/17
to autoke...@googlegroups.com
We are starting to support autokey-py3 on this list. AFAIK, none of the
active members have used it much yet, but we will do the best we can.

The upshot of this is that we need posters to tell us if they are using
autokey-py3 so we don't give wrong advice.

An Ubuntu package is being built for autokey-py3. When it is released,
notice will be posted here.

Joe


On 01/05/2017 08:16 PM, C Fox wrote:
> indeed, autokey-py3
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fguoci%2Fautokey-py3&sa=D&sntz=1&usg=AFQjCNFQd3MVLgjETNI3oLv3LE-nGiJc4w>
> is better :)
>
> for ubuntu works:
> |pip3 ||install||--user autokey-py3|
>
> from here:
> https://brushingupscience.wordpress.com/2015/12/28/add-any-symbol-without-leaving-the-keyboard/
>
> четверг, 5 января 2017 г., 21:27:02 UTC+3 пользователь Joe написал:
>
> If C Fox's suggestion doesn't work for you:
>
> The latest version of AutoKey (0.90.4-1 or 0.91.1- depending on where
> you get it) has a number of fixes in it for dealing with Unicode
> characters. Make sure you have the latest version. See:
>
> https://github.com/autokey/autokey/wiki/Installing-from-GitHub
> <https://github.com/autokey/autokey/wiki/Installing-from-GitHub>
>
> Alternatively, you can try the Python 3 fork of this project.
> Python 3
> has many enhancements over Python 2, one of which is greatly improved
> handling of multibyte character sets like Unicode. See:
>
> https://github.com/guoci/autokey-py3
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fguoci%2Fautokey-py3&sa=D&sntz=1&usg=AFQjCNFQd3MVLgjETNI3oLv3LE-nGiJc4w>
> > an email to autokey-user...@googlegroups.com <javascript:>
> > <mailto:autokey-user...@googlegroups.com <javascript:>>.
> > For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "autokey-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to autokey-user...@googlegroups.com
> <mailto:autokey-user...@googlegroups.com>.
Reply all
Reply to author
Forward
0 new messages