[X] I have checked the documentation for the feature I am requesting
describe your feature request
ahk.add_hotkey('MButton',callback=self.skip())
I have tried multiple different methods to no avail.
All give an error while the closest i've gotten is below.
Traceback (most recent call last):
File "C:\Users\Andrew\Anaconda3\envs\Trove\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\Andrew\Anaconda3\envs\Trove\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Andrew\Anaconda3\envs\Trove\lib\site-packages\ahk\_hotkey.py", line 299, in dispatcher
assert hot_thing.callback is not None
AssertionError
def skip(self):
asyncio.create_task(hi())
If I try to do an async skip function here, it doesn't work at all.
Checked the documentation
describe your feature request
ahk.add_hotkey('MButton',callback=self.skip())
I have tried multiple different methods to no avail. All give an error while the closest i've gotten is below.If I try to do an async skip function here, it doesn't work at all.