Kevin McCormack

Results 114 comments of Kevin McCormack

I solved this for now with listener that looks for images added. ```js function quillFormImgListener (formSelector) { // eslint-disable-line no-unused-vars var $form = $(formSelector) $form.on('blur change keyup paste input', '[contenteditable]',...

Hi dirmgr, I did try with both critical and non critical and got the same issue. The failure does seem to always happen at the first request with a cookie....

A bit of searching around the interwebs and I found [libevdev](https://www.freedesktop.org/software/libevdev/doc/latest/). There is also [python-libevdev](https://python-libevdev.readthedocs.io/en/latest/). However, it looks like root access is needed to create devices this way. I also...

I successfully installed and tested out [ydotool-git](https://aur.archlinux.org/packages/ydotool-git/) on ArchLinux just now. ``` ➤ ydotoold ydotoold: listening on socket /tmp/.ydotool_socket ydotoold: accepted client ``` ``` ➤ ydotool type 'Hello, world!' ydotool:...

Something like the [python-bridge npm package](https://www.npmjs.com/package/python-bridge) coupled with [python-libevdev](https://python-libevdev.readthedocs.io/en/latest/) might be a nice approach that would not require running shell commands to auto-type.

This is an example of how I was able to type a few keys with the Python module. ```py import time import libevdev device = libevdev.Device() device.name = 'fake one'...

It looks like [RobotJS has run in to a similar issue](https://github.com/octalmage/robotjs/issues/333) as this project.

I adapted https://gist.github.com/HarlemSquirrel/dbc306b9e550496e8d150992d6c6c256 but there's still going to be a problem with keyboard layouts. We need a mapping for different layouts. ``` ➤ python test.py We are typing this 1!%...

Sounds like this virtual-keyboard protocol is the way to go but it may be missing some pieces right now :disappointed:

> 6) Trigger autotype (Ctrl + V) > 7) Manually switch to target window within 2 seconds That sounds fun lol