Thanks for the very detailed reply.
Here are a bunch of separate issues that I didn't feel like putting inline.
Documentation: Well, we do have some ... <G> We could use a lot more.
While AutoKey is supposed to do mouse stuff (and did at one time), this
functionality is currently broken in this branch. We had a developer fix
most of it, but he didn't finish the work before he had to leave the
project. I am told that this does work in the autokey.py3 branch, but I
haven't tried it yet. I even found some reference to the xautomation
project over there, so he may even have integrated some graphic
recognition stuff for use in positioning the cursor.
As far as asking for too much information from you, it's pretty much
Damned if you do, damned if you don't. Sometimes it's critical to know
and sometimes it's none of your business (and I've been told that before
on stackexchange. -> It's not an XY problem, I know what I'm doing and I
asked exactly what I needed to know!)
My suggestion for using input_dialog() was as "better than nothing". I
knew it wouldn't be nice.
When working with AutoKey macros, I often use the trace for myself so I
can see things from AutoKey's perspective. It's not just for problem
reporting.
60.000 lines of macros is frankly intimidating! Sounds more like you
wrote your own IDE. Wow. Please share some of it with us once you get it
working in AutoKey.
Since it sounds like you may know Python, I looked into this further,
but I'm out of my depth with the answers I found.
This is an interesting problem which seems to have been solved, but,
apparently, it's not simple.
I did a duckduckgo search for
python linux detect gui keypress
and came up with a lot - including the following. The last one looks
most promising. In it, you need to search down to the answer by Ankit
Daftery for a solution that doesn't hang (block) waiting for a keypress.
Of course, you have to handle the case where the input doesn't match one
of your triggers. You probably don't want those keypresses to be
swallowed by your code.
http://stackoverflow.com/questions/13713347/detect-specific-keypresses-in-gui
http://stackoverflow.com/questions/24072790/detect-key-press-in-python
https://www.reddit.com/r/Python/comments/3j4vtd/way_to_detect_keypress_in_python_without/
https://docs.python.org/2.7/library/tkinter.html
http://code.activestate.com/recipes/134892-getch-like-unbuffered-character-reading-from-stdin/
Search for Ankit Daftery for an unblocking method.
If you do get this to work, please tell us. I think a lot of people
could use it.
Joe
> <
http://catb.org/%7Eesr/faqs/smart-questions.html>
>
> Almost everyone unconsciously assumes we're looking over their
> shoulder
> and know exactly what their setup is and what they did.
>
> When they give us that information to start with, we can be more sure
> we're answering the real question and get to a solution much more
> quickly.
> </soapbox>
>
> Joe
> >
> >
> > On 25 September 2016 at 20:28, Joe <
jos...@main.nc.us <javascript:>
> > On 09/25/2016 09:54 AM,
kiikr...@gmail.com <javascript:>
> >
autokey-user...@googlegroups.com <javascript:>
> > <mailto:
autokey-users%2Bunsu...@googlegroups.com
> <javascript:>>
> > <mailto:
autokey-user...@googlegroups.com
> <javascript:>
> > <mailto:
autokey-users%2Bunsu...@googlegroups.com
> <javascript:>>>.
> > send an email to
autokey-user...@googlegroups.com <javascript:>
> > <mailto:
autokey-users%2Bunsu...@googlegroups.com
> <javascript:>>.
> > an email to
autokey-user...@googlegroups.com <javascript:>
> > <mailto:
autokey-user...@googlegroups.com <javascript:>>.
> <mailto:
autokey-user...@googlegroups.com>.