Script to control Zoom Player via TCP

Share your scripts written for the Script Device in this forum.
Post Reply
lothar
Member
Posts: 1
Joined: Mon Jul 02, 2007 10:00 am
Location: Germany

Script to control Zoom Player via TCP

Post 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
Richard Naninck
HouseBot Guru Extraordinaire
Posts: 1121
Joined: Tue Sep 28, 2004 7:49 am
Location: The Netherlands

Post 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
Post Reply