0
Beantwoord

How to send commands made in GUI editor via script?

TuomoHautala 9 jaar geleden in GUI Editor bijgewerkt door Ekaterina (head of support) 9 jaar geleden 2

How to send commands made in GUI editor via script?

So how i can activate EVENT_CHANNEL_SET from script?


Beantwoord

Please use this command to activate channel:

IR.GetDevice("Driver").Set("Channel Name",100); // driver, channel, value

Event, when channel activated:

IR.AddListener(IR.EVENT_CHANNEL_SET, IR.GetDevice("Driver"), function(Name) {  

});