Controlling the Winnov Zoom Application Using VBS Sendkeys

August 11, 2003

Zoomkat's home page

Here is a work around using VBS sendkeys and the Videum Zoom application to remotely control the Winnov capture card via a webserver and a web brouser. Kind of clunky, but no special software needed on the client machine (which is popular with sys admin types). With win95, download WSH 5.6 from MS (free) for the VBS. With win98 on up the VB scripting is included. I've used this with the ivista webcam application which includes an apache webserver module. The below .bat and .vbs files are placed in the cgi folder and executed using a url like 127.0.0.1/cgi/winnov-c.bat. In this .bat file, the status code prevents the web page refresh (no video feed interuption) and executes the .vbs file. On the server machine the videum zoom utility must be running and open on the desk top to have the keys accessable. Copy the below lines between the ==== and paste in notepad and save as winnov-c.vbs on the desktop. Then with thr videum Zoom application running, double click on the winnov-c.vbs file and you will see sendkeys control the Zoom application. The winnov-c.bat file is used in the cgi folder for web control. Other control sendkeys are shown at the bottom. A simple web page control panel can be seen here and here. View the page source to see the html.

====winnov-c.vbs====

set oShell = CreateObject("WScript.Shell")
oShell.AppActivate "Winnov Videum Zoom"
oShell.SendKeys"%u"
oShell.SendKeys"c"

=====winnov-c.bat====

@echo off
echo status: 204
echo.
echo.
winnov-c.vbs
cls

====other sendkeys====

"%r" reset settings
"%z" select zoom feature
{Pgup} large adjustments zoom and video control
{Pgdn} large adjustments zoom and video control
"m" MXC cam
"s" s-video source
"c" composite video source
"%B" brightness
"%n" contrast
{Up} small adjustments zoom and video control
{Down} small adjustments zoom and video control
"%w" window, select application

Counter