I want to make a timer that counts whenever the system (Mac OS X Yosemite) is on. My idea is to use python and listen for sleep and resume signals and increment a counter whenever the system is on. However, I haven't been able to find much information on how to do this.
- Would it be feasible to go about this problem with what I have detailed?
- Is there a better way to solve this problem?
Thanks!
Aucun commentaire:
Enregistrer un commentaire