"Run Program After Device Inactivity" (evc++)
-
Hello, I'm looking for a little more help with another bit of code, and thought a seperate thread for this one was better! I would like to run a program after a (user setable) "period of device inactivity"! I'm also looking to do this with evc++ code. Can anyone help with this please? Thank You...:confused: ZapMe1
-
Hello, I'm looking for a little more help with another bit of code, and thought a seperate thread for this one was better! I would like to run a program after a (user setable) "period of device inactivity"! I'm also looking to do this with evc++ code. Can anyone help with this please? Thank You...:confused: ZapMe1
Look into CeSetUserNotification(Ex) or the older CeRunAppAtEvent/Time and GetIdleTime Im not sure you can get notifications tied to idle time, but you could write a gui-less application that gets started by the times events to check if the device has been idle for long enough, and then starts the program that should run. If your app is always running (or if you implement a service), you should get by with just GetIdleTime. HTH --- "Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
-
Look into CeSetUserNotification(Ex) or the older CeRunAppAtEvent/Time and GetIdleTime Im not sure you can get notifications tied to idle time, but you could write a gui-less application that gets started by the times events to check if the device has been idle for long enough, and then starts the program that should run. If your app is always running (or if you implement a service), you should get by with just GetIdleTime. HTH --- "Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot