Closed GoogleCodeExporter closed 9 years ago
So the editor is inside the Virtualbox session? It should theoretically be
possible, but other users have reported that Virtualbox doesn't play very well
with AutoKey. You can certainly give it a try...
Also for help, there is the users group. It is clearly linked from the home
page so you can't miss it.
Original comment by cdekter
on 18 Oct 2010 at 4:28
Thanks for your prompt answer!
Yes, editor is Dragon editor inside Virtualbox session.
I made tests, seems to work but the only problem is that
keyboard.send_key('<ctrl>+a') juste write an a letter in the editor, does not
select all text.
My workaround is to use Autohotkey (!?) into windows xp to grab F10 key and
convert it to CTRL+A
If someone is interested here is my script:
# Dragon Naturally automatic copy on Ubuntu
window.activate("Name of the window", switchDesktop=False)
keyboard.send_key('<f11>') #F11 configured into Dragon to enable or disable Mic
keyboard.send_key('<f10>') #F10 is converted in CTRL+A in windows (select all
the text)
keyboard.send_key('<f9>') #F9 is converted in CTRL+C in windows (copy all the
text)
With this:
Launch script allow me to speech and launch again close mic and copy speeched
content.
Next step is to past content in the window I want.
Faster than manualy, and virtualbox window can be hide so it never showing.
Original comment by sebastie...@gmail.com
on 18 Oct 2010 at 8:02
You can try keyboard.fake_keypress() instead of keyboard.send_key()
Original comment by cdekter
on 18 Oct 2010 at 8:47
Tryed keyboard.fake_keypress('<ctrl>+a')
but it does nothing
So i need another shortcut (ctrl+p) to pause virtualbox
tryed send_key and fake_keypress without any success
Hope we could find a solution because pausing is better for cpu usage.
Original comment by sebastie...@gmail.com
on 18 Oct 2010 at 9:26
There are no other solutions, Virtualbox does weird things with keystrokes so
I'm afraid there's nothing further I can suggest.
Original comment by cdekter
on 18 Oct 2010 at 9:37
Thanks. Find a solution: sending ctrl+p to VirtualBox launcher window, not
windows xp one seems to work :)
Just need to make a test to know if virtualbox is paused or not (based on the
title) and it will rocks!
Your soft is really usefull, thanks for that.
Original comment by sebastie...@gmail.com
on 18 Oct 2010 at 9:58
Original issue reported on code.google.com by
sebastie...@gmail.com
on 18 Oct 2010 at 4:20