Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to write mac service for find user idle time using a mouse and keyboard not using 5-minute start count and back to use mouse/keyboard stop count like count per day 24 hours and send to mail responsible person.

What I have tried:

I am searching code for java on mac os service. I am not getting the code and no idea for this please help me anyone have the idea for this.
Posted
Updated 26-Aug-20 7:43am

1 solution

 
Share this answer
 
Comments
bhagyaraavi 9-Sep-20 1:24am    
Hi,
Thanks for your solution!

Actually, I need to get the idle time( not using keyboard or mouse) of mac os(macbook) by using java code. The example which you shared in Github doesn't have about the interaction on mac os.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900