I'd like to lower the volume of my speakers in other rooms if the computer is being used and then restore the volume when the computer is unused for a certain time, say 1 minute.
Is there a way to detect if the computer is in use?
Or maybe there is a sensor I could use? Perhaps a laser rangefinder pointing at the user?
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Can I detect if the computer is in use?
Re: Can I detect if the computer is in use?
The events:
System.Idle
System.Unidle
from memory.
System.Idle
System.Unidle
from memory.
-
hello_kitty
- Posts: 2
- Joined: Mon May 05, 2014 7:25 am
Re: Can I detect if the computer is in use?
Could you describe how to do it in more details?
Re: Can I detect if the computer is in use?
If you leave your computer for some time unused, there suddenly will be a new entry in the EventGhost eventlog, with the name system.idle. When you then use a mouse or keyboard, there will be a new event with the name system.unidle. These events could be used to detect if somebody is at the computer or not: system goes idle if nobody is there, system goes unidle if somebody works on the computer.
I'm not sure how you can change the time before the system goes to idle, as on my computer it is quite short: the event system.idle can pop-up when reading a long text on a website, or thinking about a piece of code. But you might just start a timer when the system goes to idle, and if it does not go to unidle with the time set in the timer, you can assume the person is not there.
I'm not sure how you can change the time before the system goes to idle, as on my computer it is quite short: the event system.idle can pop-up when reading a long text on a website, or thinking about a piece of code. But you might just start a timer when the system goes to idle, and if it does not go to unidle with the time set in the timer, you can assume the person is not there.