0

JS Button Builder

Mike Slattery 8 years ago in Applications / Studio (Server editor) 0

It would be great to have an export feature that would extract all of the button names and create a JS file like the following.


IR.AddListener(IR.EVENT_ITEM_PRESS, IR.GetItem("PG-Standby").GetItem("BtnStart"), function () {

});
IR.AddListener(IR.EVENT_ITEM_PRESS, IR.GetItem("PG-Logo").GetItem("BtnStart"), function () {
});

IR.AddListener(IR.EVENT_ITEM_PRESS, IR.GetItem("PP-SysOn").GetItem("BtnSysOn"), function () {

});

IR.AddListener(IR.EVENT_ITEM_PRESS, IR.GetItem("PP-SysOn").GetItem("BtnClose"), function () {

});

IR.AddListener(IR.EVENT_ITEM_PRESS, IR.GetItem("PG-Main").GetItem("BtnSysOff"), function () {

});