Joshua Harlan Lifton
unread,Nov 8, 2010, 11:48:57 AM11/8/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to autoke...@googlegroups.com
Hi,
I'm new to AutoKey and having trouble getting AutoKey to switch windows by emulating Alt-Tab.
I added a script called "window shuffler" to the Sample Scripts folder in the configuration window. The abbreviation is set to 'k' with no hotkey and no window filter. The script is:
keyboard.send_keys("<alt>+<tab>")
Running autokey-gtk --verbose, I see the following pertinent log entries when I press 'k':
DEBUG - service - Raw key: u'k', modifiers: [], Key: u'k'
DEBUG - service - No phrase/script matched hotkey
DEBUG - service - Script runner executing: Script('window shuffler')
DEBUG - interface - Send special key: ['<backspace>']
DEBUG - iomediator - Send via event interface
DEBUG - interface - Send modified key: modifiers: [u'<alt>'] key: <tab>
The windows don't switch as I'd expect. Instead, in the terminal window, I see: ^[ followed by a tab. What am I missing? I'm running AutoKey on Ubuntu 10.04 with Python 2.6.5.
Thanks,
JHL