INTERACT FORUM

Windows => Plug-in Development => Topic started by: Craig on August 16, 2006, 09:31:58 am

Title: MJAutomation Com Object
Post by: Craig on August 16, 2006, 09:31:58 am
Hi,

Is it possible using the MCAutomation1 object to get "MCAutomation1.GetPlayback" info from a zone other than the active one?

My attempts using MJAutomation1.GetZones only lead to making the zone I want to interrogate become the active zone which would cause problems for someone using the interface.

Thanks
Craig
Title: Re: MJAutomation Com Object
Post by: Craig on August 16, 2006, 02:57:34 pm
Thanks guys,

I've got it figured out

Craig
Title: Re: MJAutomation Com Object
Post by: tommer on August 21, 2006, 01:57:03 am
How do you do that?
Title: Re: MJAutomation Com Object
Post by: Craig on August 23, 2006, 06:52:44 am
Tommer

Here's how I did it


var
  MJZoneControl : MediaJukebox_tlb.IMJZoneAutomation;
  Zone : Integer
  Local_Position: Integer;
begin
      MJZoneControl:=MJAutomation1.getzones.GetZone(Zone);
      Local_Position := MJZoneControl.GetPlayback.Position;

Hope it helps

Craig