autokey / autokey-python2

Legacy Python 2 version of AutoKey, the desktop automation utility for Linux and X11.
GNU General Public License v3.0
207 stars 19 forks source link

Create a scripting method for switching the keystroke delivery method from event to xtest. #12

Closed darenschwenke closed 10 years ago

darenschwenke commented 10 years ago

When working with an application which does not like send_event, having to write fake_keypress for each character is tiresome.
Allowing this to be set globally (for this script execution) eliminates this as then send_keys can be used.

darenschwenke commented 10 years ago

added keyboard.set_method() where method_name is either 'xtest' or 'event'