I was playing with Autokey to automate the use of a Win app, but it seems that it is not recognising keystrokes properly. Not sure where the problem is.
If I were to open Notepad, and then use keyboard.send_keys("<ctrl>+o"), it doesn't work but manually pressing the actual keys, it does. However using the same command for a native app (say firefox) it does work. So perhaps there is some layer that autokey is bypassing that wine is expecting? However, I can use say keyboard.send_keys("<f10>") to bring up the menu so the problem is not consistent.
Anyone have any ideas as to how to fix this? I've posted this in Autokey's issues forum as well.
Adrian
Autokey types a dir into open ile dialog but not recognised
-
- Level 7
- Posts: 823
- Joined: Thu Aug 27, 2009 6:23 am
There's an open bug in the bugzilla describing the issue:
http://bugs.winehq.org/show_bug.cgi?id=18513
You may try to reach the fileopen dialog with different keys, something like "Alt-F" (_F_ile), "o" (_o_pen). Though I'm not sure if "Alt-..." will work, if not, then you may add your experience to that bug report.
http://bugs.winehq.org/show_bug.cgi?id=18513
You may try to reach the fileopen dialog with different keys, something like "Alt-F" (_F_ile), "o" (_o_pen). Though I'm not sure if "Alt-..." will work, if not, then you may add your experience to that bug report.
-
- Level 7
- Posts: 823
- Joined: Thu Aug 27, 2009 6:23 am
I tried a bunch of different ways to get around this problem but none worked. I wanted to use an open dialog in another programme to select multiple files but the modifier keys are not working. I.e. <Shift>+<End> won't select all the files. Nor is the file name control input recognised. This makes it totally not usable for me. 
I only stated the problem in notepad as an example.
Thanks,
Adrian.

I only stated the problem in notepad as an example.
Thanks,
Adrian.
Similar problem
I have a similar problem. I used Autokey to expand ";d" to the current date, e.g. 2011.10.26-09:19:54. But in windows apps running inside Wine, the colons end up as semi-colons (2011.10.26-09;19;54), suggesting the SHIFT key is not registering correctly.
(Note: I'm using CrossOver, hence Wine indirectly.)
(Note: I'm using CrossOver, hence Wine indirectly.)