Skip to content
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

Screen Locked / Lid Closed #17

Open
afsoltys opened this issue Feb 1, 2021 · 3 comments
Open

Screen Locked / Lid Closed #17

afsoltys opened this issue Feb 1, 2021 · 3 comments

Comments

@afsoltys
Copy link

afsoltys commented Feb 1, 2021

Awesome app - thanks! Question: will this work when if the Mac is locked? How about if the screen of a MacBook is closed?

@prashantgupta24
Copy link
Owner

prashantgupta24 commented Feb 1, 2021

Thank you for the kind words @afsoltys! The main library used for this app is the activity tracker: https://github.com/prashantgupta24/activity-tracker.

The activity tracker implements all handlers, including machineSleepHandler. So whenever a macbook screen is closed or macbook is put to sleep, the activity tracker receives a sleep event, which in turn pauses the automatic mouse mover. So it should not try to move the mouse when the macbook is sleeping.

As far as screen lock is concerned, right now there is no event triggered when the screen is locked. So my assumption is that the automatic mouse mover will keep working when the screen is locked.

The activity tracker is an open source library, so looking forward to contributions on making lock screen events possible!

Hope that helps!

@afsoltys
Copy link
Author

afsoltys commented Feb 1, 2021

Wow - thanks for the super speedy reply! I see, so by design if the mac is put to sleep, amm intentionally stops trying to move the mouse? I will test with the screen lock and see if it behaves as expected (continuing to work).

@prashantgupta24
Copy link
Owner

if the mac is put to sleep, amm intentionally stops trying to move the mouse? -> that is correct.

Let me know how the lock screen testing goes, I'm curious to know if it works while locked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants