Send a command to AV equipment automatically on project start

In the project attached to the question you can find a script example which make it possible.
if this command is in the list of GC-100 Commands:

IR.AddListener(IR.EVENT_ONLINE , IR.GetDevice("GC-100-12:Serial 1"), function() {
IR.GetDevice("GC-100-12:Serial 1").Set("CONNECT", ""); 
//IR.Log('online and sent');
});
if this command is NOT in the list of GC-100 Commands:
IR.AddListener(IR.EVENT_ONLINE , IR.GetDevice("GC-100-12:Serial 1"), function() {
IR.GetDevice("DEVICE").Send(['SYSTEM CONNECT', '\r\n']);
//IR.Log('online and sent');
});
SendCommandIfDriverOnline.irpz

Эта статья помогла вам?

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