Comments (3)
Hi.
Since this isn't a bug (at least yet), it would probably be better (and be seen by more people) if it was posted on our Google Groups forum (https://groups.google.com/forum/#!forum/autokey-users) or directly to our listserv. Subscribe with ([email protected]).
Your notes don't quite make sense to me. If you are using things like window filters, then you are inside of AutoKey, but if you are using the scripting module, you're outside of AutoKey. Inside AutoKey, you just say keyboard.send_keys( ... ) without importing and using the scripting module.
If you are inside AutoKey, you can only bind a macro to one (possibly multi-key) hotkey so I'm not sure where key_sym is getting a value.
All of these technicalities aside, I have no idea what AutoKey will do if a macro emits the hotkey that triggered it (or the hotkey for any other macro, for that matter). I would hope that it doesn't cause infinite recursion, but I haven't tried it. That would be the first thing to test - all by itself.
Other than that, I know X11 has a number of primitives in its API for dealing with the keyboard, but I have no idea what that would do with AutoKey running either.
Maybe what you really want is to swap keyboard layouts on the fly. I haven't experimented with this, but a good place to start looking would be man xmodmap.
Joe
from autokey-python2.
Thank you Joe.
I finally managed to find a solution.
https://github.com/metakermit/dotfiles/tree/master/autokey
But the window filter doesn't work as window fileter in the autokey gui, maybe it is because the recursive hot-key calling.
Feel free to close this issue.
from autokey-python2.
Closing. Referred to development for consideration.
from autokey-python2.
Related Issues (20)
- Window Filter to exclude gnome terminal HOT 3
- Autokey writes intensively to log file, how to disable it? HOT 7
- NP_ENTER key missing & "<enter>" converted XK_KP_Enter HOT 1
- PayPal Donations link does not work HOT 1
- TXT file: line break instead of paragraph break HOT 3
- Request - Would like to have option for a custom default folder HOT 1
- autokey vs autokey-py3 HOT 2
- Fatal error starting AutoKey HOT 1
- Feature request: TextExpander Compatibility HOT 1
- Czech characters HOT 1
- Numpad Numbers HOT 1
- CAPSLOCK as a modifier HOT 3
- Is there a way to quick set the abbreviation? HOT 2
- simple date insertion fails HOT 1
- using <script> in a phrase freezes autokey and parts of the desktop HOT 1
- How to bring the dialog.list_menu window to the front HOT 1
- Why can't my phrases work? (My script does) HOT 1
- Pressing AutoKey phrase key combination reveals and freezes dock in Kubuntu 20.04 (KDE Plasma Desktop) HOT 2
- Cheat engine HOT 2
- Syahaja3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autokey-python2.