Comments (5)
Sorry about the delay. I believe we added that Control_R way back to deal with VirtualBox capture. The best option there is to comment that out when on OS X.
As to the other issues, this seems to be a reflection of #65. The best option is probably to add some logic in the OS X server to translate keystrokes as appropriate, and/or to modify the relevant grammars to send keys OS X understands.
I don't use OS X or have an install handy so I'm unlikely to do this, but I'm happy to accept PRs to this effect.
from aenea.
Yes, commenting that out works.
Separately, I've been using this full-time for over a year now on OS X / macOS. So first, this project has saved my career, thank you. I can't thank everyone who's worked on this enough.
I don't know if anyone else is using the OS X functionality but I've had to make a number of small changes for it to work.
If the current version is working for others then that's great and carry on, but if you would like the changes then I am happy to make a pull request. This is working on 2 separate computers for me. Previously with 10.11 and now with the latest 10.12.5 (macOS Sierra).
My fork is here: https://github.com/seananderson/aenea
Diff: master...seananderson:master
The major changes are:
- fix some key names and key translations
- switch from pasting Text() to simulating keypresses. This is a bit slower but much more functional for me because it lets me type everywhere that I could type with the keyboard. For example, you can't type in the Vim command line with paste and some input forms on websites or application dialog boxes don't allow you to paste. Also, some programs, like MS Word, do weird things with spaces at the end if you paste. Plus, using copy and paste constantly clobbers the clipboard. Recently I had to add a micro pause between keypresses after an operating system update or the typing would sometimes be too fast and letters would be lost.
- a recent addition that you may not want merged is the ability to execute arbitrary macros with the program Keyboard Maestro by checking if a Text() command starts with "KBM " and then executing the macro by that name. I use that for all sorts of things including application launching and window positioning. I'm sure there's a more elegant way to do this.
(For anyone stumbling on this later, I started adding those macros here and my grammar files are here. They are a mess but they work for me. I also use SmartNav for head tracking and the Kinesis Savant foot pedals for dragging / some clicking.)
from aenea.
Commenting out the if ... raise ... lines seems to work
from aenea.
That looks awesome! I'm gonna try your stuff out.
I suppose is this is a pull request, it kinda belongs in the pull request section (I'm not a contributor to the project btw)
from aenea.
💯 I also had to put in a fix for: "Switch from pasting Text() to simulating keypresses". I didn't want to mess with AppleScript so I just pulled in pyautogui:
sweetmandm@9bf65c6
from aenea.
Related Issues (20)
- Is there any way to have a rule to match any single word? HOT 6
- Vim - 'escape' key issue when keys chained HOT 5
- Support for accentuated letters is lacking HOT 3
- Client breaks/Getting timeouts when long `Text()` gets executed HOT 3
- Mysterious text gets typed in this grammar HOT 6
- Text('a"b') causes errors in the osx server HOT 2
- dictation client repeats voice entry in a forever loop begun with Shift_L on OSX 10.13.6 HOT 10
- Wayland server HOT 3
- Required version of dragonfly 0.6.5 does not contain 'semicolon' as typeable HOT 18
- Are their instructions on how to get the setup working on a non virtualbox vm? HOT 9
- disable all grammars (or DNS) for 20 seconds HOT 1
- argument of type 'NoneType' is not iterable HOT 1
- Has anyone tried a newer version of dragon (13, 14, etc) HOT 8
- `Aenea: Successfully connected to server.` printed when not connected to server HOT 5
- Windows server needs security token support HOT 2
- Support for Python 3.x HOT 7
- Error when running `aenea/server/linux_x11/test-client.py` HOT 3
- Manually changing contexts HOT 5
- Error when using default choices HOT 2
- ISSUE DELETED
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 aenea.