Page 1 of 1

Script to control Zoom Player via TCP

Posted: Wed Jul 04, 2007 10:38 am
by lothar
In Zoom Player 5.0 it is possible to control the player via TCP port 4769.
I want to send such control commands from HouseBot server to the ZoomPlayer.
Scott said I will need a VB-Script to do that. But I'm not familiar with VB-Scripts.
Does anybody have a VB-Script that I can use for setting up a TCP connection and sending ASCII commands via TCP ?

Thanks
Lothar

Posted: Wed Jul 04, 2007 12:40 pm
by Richard Naninck
What about using Curl (C-URL) for this?

Code: Select all

Set MyShell = CreateObject("WScript.Shell")
MyShell.Run "C:\Progra~1\Meedio\Meedio~1\data\prog\curl\curl.exe -d ""c=record-program&pid=" & CurrentProgramID  & """ http://localhost:4712/tv?", 0, True