Hello,
I am new to the community (well my first thread anyway). I was just wondering which programming language would be the most effective to run a light weight process watcher, and when it detects a particular process to start a another wait loop, which, when the process ends it will force the computer to sleep. (Another requirement is to do this again upon waking up)
So the general layout of the process:
wait(){
[INDENT]if(ProcessName is running){
[INDENT]wait(){
[INDENT]if(Processname is no longer running){
Tell Computer to sleep
break to the outside wait loop
}[/INDENT]
}[/INDENT]
}[/INDENT]
}
Any help would be greatly appreciated.