Autokey types a dir into open ile dialog but not recognised

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
adrianh
Newbie
Newbie
Posts: 3
Joined: Wed Jun 22, 2011 1:20 pm

Autokey types a dir into open ile dialog but not recognised

Post by adrianh »

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
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Post by lahmbi5678 »

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.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Post by lahmbi5678 »

Once you are at it, you could also try"F10", "Tab" and arrow keys to navigate to the desired menu items or buttons, then send the underlined letter to e.g. simulate pressing "_e_nter" button.
adrianh
Newbie
Newbie
Posts: 3
Joined: Wed Jun 22, 2011 1:20 pm

Post by adrianh »

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.
adrianh
Newbie
Newbie
Posts: 3
Joined: Wed Jun 22, 2011 1:20 pm

Post by adrianh »

No, that link you posted is for autohotkey NOT autokey. Maybe same problem but different app.
wineroo
Newbie
Newbie
Posts: 1
Joined: Wed Oct 26, 2011 11:13 am

Similar problem

Post by wineroo »

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.)
Locked