User Tools

Site Tools


config:remotecontrol:airlite

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
config:remotecontrol:airlite [2020/07/31 13:30] tondoseconfig:remotecontrol:airlite [2022/04/15 15:03] (current) – Beispiel aktualisiert tondose
Line 152: Line 152:
 ==== Example ==== ==== Example ====
  
-Switch on //Cue// on module No. 8 when Extra-PFL is launched:+Switch on //Cue// over AIR input when Extra-PFL is launched:
  
   procedure OnExtPFLOn(Item: IPlaylistItem; ExtPFLCount: integer);   procedure OnExtPFLOn(Item: IPlaylistItem; ExtPFLCount: integer);
   begin   begin
-    if ExtPFLCount = 1 then +    if ExtPFLCount <> 0 then 
-      AirliteRemote(0).RemoteCue(actModule8, alaActivate);+      AirliteRemote(0).RemoteCue(actAir, alaActivate);
   end;   end;
  
-… and switch off when Extra-PFL is closed:+… and turn off when Extra-PFL is closed:
  
   procedure OnExtPFLOff(Item: IPlaylistItem; ExtPFLCount: integer);   procedure OnExtPFLOff(Item: IPlaylistItem; ExtPFLCount: integer);
   begin   begin
     if ExtPFLCount = 0 then     if ExtPFLCount = 0 then
-      AirliteRemote(0).RemoteCue(actModule8, alaDeactivate);+      AirliteRemote(0).RemoteCue(actAir, alaDeactivate);
   end;   end;
    
config/remotecontrol/airlite.1596202228.txt.gz · Last modified: 2020/07/31 13:30 by tondose

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki