Inlne.
We'd love it if you'd like to become an AutoKey developer. No need to
take on any more than you want to.
Right now, we need to create a testing version on GitHub and get a
routine going for installing patches to it.
I already have one submitted patch to apply for testing.
Going forward, you can do as much or as little as you like.
What I'd personally like is someone who could help answer questions on
this list where the answers involve knowledge of the code.
Examples of things I'd like to see done: (most of which do not involve
heavy coding)
There is currently an issue in Ubuntu 16.04 where phrases get their case
shifted - my email phrase emits a 2 instead of an @ - but only in some
applications. We have no idea who or what is causing this. Works fine in
Thunderbird, but not in kate or konsole.
We'd also like to know what, if anything, would be lost if we just
switch to autokey-py3. Would we be abandoning lots of users, etc..
What will have to be done to get our new version (if we create one) into
the distros which currently offer it. Or if we go to autokey-py3, what
has to be done so those distros get the memo.
I've taken a brief look at autokey-py3 and I didn't see documentation or
a support list like this one.
If we do switch over, we'll need to update our documentation. There are
two or three of us willing to do some of the writing, but we will need
someone who can look into the code and make sure what we are writing
about it is accurate.
Joe
On 11/26/2016 01:24 PM, Andy Lavarre wrote:
>
>
> Joe hi. Thank you./
> /
>
> />I told AutoKey about it in Settings->Configure AutoKey->Script Engine./
> That is my immediate problem:
>
> **Setti**ngs > Configure AutoKey > Script Engine** offers to
> remember the User Module folder, but clicking on **Browse** has no
> effect in my 0.91.1 installation. The Browse button gets highlighted
> and shows itself being pressed (moves slightly) but no file dialog is
> raised so there is no way to assign a folder as User Module folder.
> *dmesg* does not show any errors.
Confirmed this problem.
Workaround:
Shut down autokey and directly edit (with a text editor - not a word
processor)
~/.config/autokey/autokey.json
Find a line that looks like
"userCodeDir": "",
and put your directory path in manually.
"userCodeDir": "/home/bigbird/autokey_scripts/Modules",
>
> /usr/lib/python2.7/site-packages/autokey/qtui/*enginesettings.py*
> seems to be the script called by t**Setti**ngs > Configure AutoKey >
> Script Engine** . It defines a function retranslateUi
>
> def retranslateUi(self, Form):
> *
> *
> **This function creates the dialog with the Browse button. This file
> also defines another function setupUi that calls retranslateUi:
>
> self.retranslateUi(Form)
>
> It then calls *QtCore* and ends:
> QtCore.QMetaObject.connectSlotsByName(Form)
> **
> I can go down the rabbit hole of tracking down*QtCore* objects and
> methods to see where te process breaks but if someone has a shorter
> answer of why the *Browse* button is broken that would be nice.
>
> Once I get past this glitch then I can take on the rest.
No idea, what's causing this. I didn't notice it until you just pointed
it out. AFAIK, it wasn't a problem in 12.04.
With anything like this, I might be tempted to ask the autokey-py3
developers if they have encountered it, but first, we have to decide if
we should keep working on this version or just switch to theirs.
>
> -----
> >import typing_aids
> >typing_aids.type_slow("abc", 0.1)
> >This runs the function.
>
> Good, thank you. So I can import and call a function within an
> individual script.py
>
> -----
> >The bad news is that ..
>
> Well, that makes sense... You'd have to import AutoKey scripts into
> Python to have them run in an imported Python module... :-) A circle
> of imports...
I thought it might be something like that.
>
> -----
> >I imagine it would work perfectly fine if your "Modules" directory
> >contained hard links or symlinks to modules stored elsewhere
>
> Yes, indeed. I also make extensive use of soft links to keep data
> unduplicated and "safe", (along with frequent backups!) :-)
>
> -----
> One step at a time.
>
> Thanks again, Andy