Charmed Quark Systems, Ltd. - Support Forums and Community

Full Version: CQC trigger touchscreen to come out of screensaver
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have my doorbell connected to CQC. When someone rings the front doorbell I want my touchscreen next to the door to come out of screensaver mode so it can display the video feed from my front door camera through CQC.

I am not sure how to program CQC (or trigger any other program) to remotely get the display out of screensaver mode without manual intervention. Any ideas on that?
robolo Wrote:I have my doorbell connected to CQC. When someone rings the front doorbell I want my touchscreen next to the door to come out of screensaver mode so it can display the video feed from my front door camera through CQC.

I am not sure how to program CQC (or trigger any other program) to remotely get the display out of screensaver mode without manual intervention. Any ideas on that?

I've done this for phone calls and can post the steps when I have access to the system.

In the mean time, search for MonPower and you should see how to do it.
jkish Wrote:I've done this for phone calls and can post the steps when I have access to the system.

In the mean time, search for MonPower and you should see how to do it.

I think I also had to initially kill the screensaver process and then use MonPower to bring it back to life while resetting the timer.

I killed the screensaver (on XP) via:

System.ExecApp(tskill, screensaver, c:\Windows, Show)
If you are using our blanker from the IV, I could add a dismiss option for it.
Dean, Thanks but I'm not using the Blanker...I use Windows screensaver to show random family photots
A Dismiss option would still be nice Big Grin I would love a way to get rid of the blanker than just send a down key to the touchscreen.

Ted
jkish Wrote:I think I also had to initially kill the screensaver process and then use MonPower to bring it back to life while resetting the timer.

I killed the screensaver (on XP) via:

System.ExecApp(tskill, screensaver, c:\Windows, Show)

I haven't been able to find MonPower by googling and couldn't figure out how to get System.ExecApp to be run at the remote touchscreen computer.

I did get a convoluted work around by triggering xCmd.exe (freeware - include the "/INTERACTIVE" option) on the CQC server computer and sending a command to run Launchkey.exe "enter" (also freeware) command on the remote touchscreen computer.

jkish, can you give me a little more info on your method?
robolo Wrote:I haven't been able to find MonPower by googling and couldn't figure out how to get System.ExecApp to be run at the remote touchscreen computer.

I did get a convoluted work around by triggering xCmd.exe (freeware - include the "/INTERACTIVE" option) on the CQC server computer and sending a command to run Launchkey.exe "enter" (also freeware) command on the remote touchscreen computer.

jkish, can you give me a little more info on your method?

On a remote machine it will be a little different.

I haven't done this, so here is what I think you need to do.

You will want to use StartRemApp along with the AppControlServer instead of ExecApp.

You first need to run tskill to kill the screensaver process. I did this via:

System.ExecApp(tskill, screensaver, c:\Windows, Show)

You will want to change to use StartRemApp.

Then, I ran MonPower with the '1' option to reset the display timer.

See this thread for MonPower and it's use:

http://www.charmedquark.com/vb_forum/sho...php?t=6426
jkish Wrote:I think I also had to initially kill the screensaver process and then use MonPower to bring it back to life while resetting the timer.

I killed the screensaver (on XP) via:

System.ExecApp(tskill, screensaver, c:\Windows, Show)


Jkish I'm trying to set some thing similar up on my system. I have MonPower working but I'm a little confuse on how to setup your "System.ExecApp(tskill, screensaver, c:\Windows, Show)" Could you elaborate?
phenix Wrote:Jkish I'm trying to set some thing similar up on my system. I have MonPower working but I'm a little confuse on how to setup your "System.ExecApp(tskill, screensaver, c:\Windows, Show)" Could you elaborate?

Tskill.exe is a Windows XP utility to kill tasks.

So, you want to run that with the parameter set to the screensaver task. That is something like <screensaver>.scr. Check your task list to see for sure.

The path is set to C:\Windows - that is where tskill.exe lives.

I'll look at my exact code tonight and see if there is anything I missed.

You probably just want to try and run tskill <screensaver> from a command prompt first to make sure you can kill the process correctly and then add the ExecApp action command.
Pages: 1 2