You can probably do it, but only because Python can do almost anything.
However, this is similar to the theorem: If a string has one end, it has
another end. (which doesn't guarantee you can find it. :) )
A whole bunch of the upper levels of the desktop managers and utilities
are written in Python, so it's quite capable, but it requires significant
expertise to get it to jump through hoops.
You can use AutoKey to start up a Python script, but there's nothing in
the API that does what you want.
The other alternative is to actually run AutoHotKey on Linux. Somebody
showed us how to do that recently, but I'm not sure where it was posted.
If I find it, I'll post here.
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.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/autokey-users/85c759b1-6b3e-42ea-a187-a3b1fab4e059n%40googlegroups.com.
>