RX14 / autokey

Automatically exported from code.google.com/p/autokey
GNU General Public License v3.0
0 stars 0 forks source link

Send a mouse click relative to the current mouse position #139

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
mouse.click_relative_self(0,0,1)

When I add this to a script I expect for a mouse click when I press the hotkey 
combination, which is described in the API 
http://autokey.googlecode.com/svn/trunk/doc/scripting/lib.scripting.Mouse-class.
html . Instead I get the error 
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/autokey/service.py", line 404, in execute
    exec script.code in self.scope
  File "<string>", line 2, in <module>
AttributeError: Mouse instance has no attribute 'click_relative_self'

I am using version 0.71 of autokey on Linux Mint 10 - 32bit with Gnome.

Original issue reported on code.google.com by mindos...@gmail.com on 13 Sep 2011 at 10:49

GoogleCodeExporter commented 9 years ago
This method is only implemented in 0.80 which has not been released yet.

Original comment by cdekter on 13 Sep 2011 at 9:11