-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing interface hotkeys at Linux Mint 20.3 with Cinnamon and python3. #102
Comments
The default keys to start/stop the recording is F9, but in order for them to work, atbswp's windows needs to have focus
What do you mean by resetting? If the playback is interrupted, the counter is reset to the value set in the settings.
/tmp/atbswp-yyyy-mm-dd it's a python file
I'd gladly accept a PR! |
In python exists such an awesome library like pynput it doesn't require focus on window to check pressed button. from pynput.mouse import Controller as MouseController, Button
from pynput.keyboard import Controller as KeyboardController, Key, Listener
from time import sleep
active = True
keyboard = KeyboardController()
def on_press(key):
global active
if key == Key.f8:
active = not active
keyboard_listener = Listener(on_press=on_press)
keyboard_listener.start()
mouse = MouseController()
while True:
while active:
mouse.click(Button.left, 1)
sleep(1)
sleep(0.1) |
Checklist
Verbose log
Miscellaneous information
Operating System
Linux Mint 20.3 Una
Desktop Environment/Window Manager
Cinnamon
Python version
python3
Description
What is the key to start / stop recording? With the atbswp window focused with mouse click, i tried F9 key to start recording but after that, F9 key didn't stop the recording.
What is the key to "reset" the "Play capture counter" in the interface above the Play Capture button?
In linux, where is stored the last recorded events?
This settings could be in the docs of the program?
Hey, thanks for your time and work with atbswp.
The text was updated successfully, but these errors were encountered: