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
Next revisionBoth sides next revision
config:remotecontrol:airlite [2020/01/31 09:59] – [Scripting] twconfig:remotecontrol:airlite [2020/02/05 21:20] – [Scripting] Ergänzung tondose
Line 76: Line 76:
 Remotes are 0-based, so ''AirliteRemote(0)'' will return a reference to the first remote in the system. Remotes are 0-based, so ''AirliteRemote(0)'' will return a reference to the first remote in the system.
      
-At the time being, the ''IAirliteRemote'' interface offers two useful functions:+Up to mAirList 6.2, the ''IAirliteRemote'' interface offers two useful functions:
  
   procedure SetLED(iNumber: integer; iColor: TAirliteColor);   procedure SetLED(iNumber: integer; iColor: TAirliteColor);
Line 149: Line 149:
   * ''alaActivate''   * ''alaActivate''
   * ''alaToggle''   * ''alaToggle''
 +
 +==== Example ====
 +
 +Switch on //Cue// on module No. 8 when Extra-PFL is launched:
 +
 +  procedure OnExtPFLOn(Item: IPlaylistItem; ExtPFLCount: integer);
 +  begin
 +    if ExtPFLCount = 1 then
 +      AirliteRemote(0).RemoteCue(actModule8, alaActivate);
 +  end;
 +
 +… and switch off when Extra-PFL is closed:
 +
 +  procedure OnExtPFLOff(Item: IPlaylistItem; ExtPFLCount: integer);
 +  begin
 +    if ExtPFLCount = 0 then
 +      AirliteRemote(0).RemoteCue(actModule8, alaDeactivate);
 +  end;
 + 
 +
 +
  
config/remotecontrol/airlite.txt · Last modified: 2022/04/15 15:03 by tondose

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki