Welcome!

On this forum you can discuss iRidium with other users. iRidium consist of 2 main components - i3 pro app and iRidium Server. Please post here your questions, ideas or errors you find.

Please send your questions to support team as a private messages.


Please subscribe to the Change Log to know our news

0
Answered
Dmitry Ryzhkov 9 months ago in iRidium Script • updated by Ekaterina (head of support) 6 months ago 1

Здравствуйте


Мне необходимо реализовать следующий функционал через JS на сервере


1. Информация о подключении и отключении панели от сервера (описано в 10000-й теме http://support.iridiummobile.net/topics/10000-irevent_accept/)


2. Получение информации о нажатиях на элементы интерфейса через скрипт на сервере. Подробнее, я должен отслеживать в какое время и с какой панели произошло нажатие на элемент (IR.EVENT_PRESS, IR.EVENT_RELEASE, IR.EVENT_HOLD т.е. все возможные события).


На сколько я понимаю отслеживать нажатия с панели можно будет через IR.EVENT_GLOBAL_GUI_CHANGE.


Это очень необходимый функционал для перехода на сервер с АМХ.

0
Answered
Dmitry Ryzhkov 9 months ago in iRidium Script • updated by Ekaterina (head of support) 6 months ago 3

Здравствуйте


1. С помощью IR.EVENT_ACCEPT я могу узнать что панель подключилась к серверу. Как я могу узнать, что панель отключилась от сервера.


2. Как можно узнать количество панелей и их ID, подключенных к серверу. Т.е. есть ли объект Panels или что-то похожее.

0
Waiting for user's reply
Damian Hartin 9 months ago in iRidium Script • updated by Dmitry - support (expert) 9 months ago 1

I have a global cache iTach IP2IR where I want to set a command in script to the 3rd IR port.


The following command: IR.GetDevice("GC_TheatreRoom").Set("DIGIT 01",null); works but only sends to the first IR port.

How do I call a channel that's set on the third IR port?


Thanks,
Damian

0
Waiting for user's reply
Lance Price 9 months ago in iRidium Script • updated by Dmitry - support (expert) 9 months ago 1

var List = IR.GetPopup("Popup1").GetItem("List 1");


List.GetItem(item, 3, {Text:})


says it contains a null, but shouldn't this work? I'm not familiar with which method 'Gets' the data for use as a variable. I'm trying to copy a list item and all the property values that are not kept in the initial creation if a template, from a button within a list item (ie the text values in all the subitems).


This doesn't work either but might clarify what I'm trying to do:


var NeedThisTxt = List.GetItem(item).GetItem(subitem).Text;

//so I can do the below

List.CreateItem(item+1, subitem, {NeedThisTxt});


Please and Thank you!


0
Answered
Dmitry Ryzhkov 9 months ago in iRidium Script • updated by Dmitry - support (expert) 9 months ago 2

Здравствуйте.


Поддерживает ли Иридий кодирование/декодирование Base64?

0
Answered
Vladimir Muravyev 10 months ago in iRidium Script • updated by Kenny Stoepel 6 months ago 2

Возможно ли с помощью IR.Execute запустить приложение с ключом, которое передаст приложению доп. настройки (включит режим, и тд)? Например: C:\Progra~1\VideoLAN\VLC\vlc.exe --start-time=600

0
Not a bug
ai-systems@bk.ru 11 months ago in iRidium Script • updated 9 months ago 4

Good day!

I have a code that create JSON.


var a = 2

var user = {

userName:"admin",

password:"569123A6421D6D392C469CA683504E66",

clientType:"Web3.0",

realm:"Login to 90:02:a9:c4:2b:a3",

random:"Login to 90:02:a9:c4:2b:a3",

passwordType:"Dafault",

id:"2",

session:"a",

}

str = JSON.Stringify(user);

IR.Log(str);


expect to see in log - {"userName":"admin", "password":"569123A6421D6D392C469CA683504E66", "clientType":"Web3.0", "realm":"Login to 90:02:a9:c4:2b:a3", "random":"Login to 90:02:a9:c4:2b:a3", "passwordType":"Dafault", "id":"2", "session":2,


BUT i see - {"userName":"admin", "password":"569123A6421D6D392C469CA683504E66", "clientType":"Web3.0", "realm":"Login to 90:02:a9:c4:2b:a3", "passwordType":"Dafault", "id":"2", "session":2, "random":"Login to 90:02:a9:c4:2b:a3"}


Why order is broken?

0
Answered
Joseanio Galdino 11 months ago in iRidium Script • updated by Dmitry - support (expert) 10 months ago 1

Hi all,

Someone could please help me with the syntax of IR.CalculateCRC() ?

I did not find in the wiki.


Thanks in advance.


0
Waiting for user's reply
ofer 11 months ago in iRidium Script • updated by Dmitry - support (expert) 11 months ago 1

Can i3 JS (CoolMster Net) work on V2.2 App ?

0
Voting
Damian Hartin 12 months ago in iRidium Script • updated by Dmitry - support (expert) 12 months ago 4

Am following the sample project for the new list - is there any way to set the alpha channel for the list created in script? i.e. having a list with only a black background isn't great.

Also, where is all the documentation for this? I can't see anything on IR.ITEM_GOOD_LIST or anything recent about list management in general.

Thanks,
Damian