You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use "autopy.key.toggle("1",True,autopy.key.MOD_CONTROL)"
I get:
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'autopy.key' has no attribute 'MOD_CONTROL'
Then I try "autopy.key.toggle("a",True,autopy.key.Modifier.CONTROL)"
get:
Traceback (most recent call last):
File "", line 1, in
TypeError
When I use autopy.key.tap(autopy.key.Code.RETURN)
get:
Traceback (most recent call last):
File "", line 1, in
TypeError: Required argument ('modifiers') (pos 2) not found
I don't know how to use this function...
Maybe you can give me some example,thanks!
The text was updated successfully, but these errors were encountered:
@DTDwind@fl0under: where did you see this shown in the docs? It looks like it does include List[Modifier] in the signature, but maybe it would be helpful to post an example somewhere.
Python 3.5
linux mint
When I use "autopy.key.toggle("1",True,autopy.key.MOD_CONTROL)"
I get:
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'autopy.key' has no attribute 'MOD_CONTROL'
Then I try "autopy.key.toggle("a",True,autopy.key.Modifier.CONTROL)"
get:
Traceback (most recent call last):
File "", line 1, in
TypeError
When I use autopy.key.tap(autopy.key.Code.RETURN)
get:
Traceback (most recent call last):
File "", line 1, in
TypeError: Required argument ('modifiers') (pos 2) not found
I don't know how to use this function...
Maybe you can give me some example,thanks!
The text was updated successfully, but these errors were encountered: