0
Отвечен

How to send commands made in GUI editor via script?

TuomoHautala 9 лет назад в GUI Editor обновлен Ekaterina (head of support) 9 лет назад 2

How to send commands made in GUI editor via script?

So how i can activate EVENT_CHANNEL_SET from script?


Отвечен

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) {  

});

Сервис поддержки клиентов работает на платформе UserEcho