Поделитесь своими идеями, пожеланиями и примерами в этом разделе. Идеи, за которые голосуют чаще всего, будут реализованы быстрее!

Мы перевели нашу службу поддержки на новую систему технической поддержки. С 17.01.2022 мы отключили возможность создавать обращения через личный кабинет userecho. Теперь все запросы обрабатываются по почте на support@iridi.com .

Спасибо вам за ваше понимание и хорошего дня.

+3
Ожидает ответа пользователя

Lists.CreateItem

rocfusion 10 лет назад в iRidium Script / Interface scripts обновлен Oksana (expert) 10 лет назад 2
Hi,

Please take a look at the attached project.  Press on the delete first item button and then the press add first item.

I would expect that the List.CreateItem(1, 1, {Text: "TV Bedroom 1"})  would add an new item at the defined point in the list.  This is not the case it simply added to the end of the list.


Thanks,


Roger
List.irpz
List
+3
Ожидает ответа пользователя

cannot select Dynamic Images from the project gallery

r riksma 10 лет назад в iRidium Script / Interface scripts обновлен 10 лет назад 9
Please see attached project. (note: camera URI is replaced with a dummy and should of course be changed before testing)
creating a Dynamic Image in the Project Gallery and assigning it to an item by script does not work.
Dragging and dropping the Dynamic Image on an existing item does work.
Referencing the URI directly also works.

While this is not a very big problem, this was kind of unexpected and caused me to think there was something wrong with the URI i was using.
Please fix if possible or maybe update documentation with this info?
cameras.irpz
Client
Ответ
Oksana (expert) 10 лет назад
Dear Riksma,

At the moment you can assign only MJPG stream using the script (but not H.264).
We know about this problem, it will be fixed in the next versions.

Sincerely yours,

Olga Ermakova
iRidium mobile Team
+2
Ожидает ответа пользователя

(dynamic) image stretch for scripted objects

r riksma 10 лет назад в iRidium Script / Interface scripts обновлен Ekaterina (head of support) 10 лет назад 1
In the knowledge base i read the following:
http://support.iridiummobile.net/topic/618162-image-size-changing/
If i read it correctly this says it is not possible to set the image of an object created by script to stretch.

There are two reasons this option would really help me:
1. I have a 720p camera stream, on an ipad this still looks tiny.
2. I have to create the same images multiple times for devices with different resolutions. this wouldn't be necessary if the images could be stretched.

Please consider adding this feature if it is not possible yet.
+2
Ожидает ответа пользователя

Screensaver does not disappear when EVENT_TAG_CHANGE is used

Theo Derks - NL (distributor) 11 лет назад в iRidium Script / Interface scripts обновлен Oksana (expert) 9 лет назад 2
Hi,
This problems happens on Touch PC with a running screensaver.
When we use the event EVENT_TAG_CHANGE to show a popup when something is happening on the KNX-bus, the popup is showed behind the screensaver.
So, when the screensaver is running, the popup is not displayed. You have to tap on the Touchscreen to remove the screensaver, and then the popup is showed.
What we want: when a screensaver is running, and a popup has to be displayed, the screensaver must cancelled by the iRidium client on the Windows PC.
Thanks
Theo
+1
Завершен

Unable to read or change text alignment position

r riksma 10 лет назад в iRidium Script / Interface scripts обновлен Oksana (expert) 10 лет назад 7
Hi,

It it not possible to either read or write the text position of an item when setting TextAlign to "absolute".
Both items generated by script and by the editor have this problem.

Not being able to specify text formatting by script is really slowing me down because it basically means i have to assign a custom image to every item if i want the project to look like the designer intended.

I have attached a project to show the issue.

Please advise.
Project 1.irpz
Ответ
Oksana (expert) 10 лет назад
It is fixed in v2.2.2

Sincerely yours,

Oksana Storozheva
iRidium mobile Team
0

Animasi SWF or Gif

feri setiawan 8 лет назад в iRidium Script / Interface scripts обновлен Dmitry - support (expert) 8 лет назад 1

Hello,


i want create template with full page animation with flash or GIF...how file flash or Gif can work on the apps iridium?

0
Ожидает ответа пользователя

How to change X and Y of popup

Jackie Roos 9 лет назад в iRidium Script / Interface scripts обновлен Dmitry - support (expert) 9 лет назад 2

In my script, when I show a particular popup I want to change its position:

    IR.Log( 'IR.GetPopup("Room24_AC").Y ' + IR.GetPopup("Room24_AC").Y)
    IR.GetPopup("Room24_AC").Y = 115;
    IR.Log( 'IR.GetPopup("Room24_AC").Y ' + IR.GetPopup("Room24_AC").Y) 


And this shows as you would expect in the log

[27-05-2016 16:34:15.849]    INFO    IR.GetPopup("Room24_AC").Y 2
[27-05-2016 16:34:15.860]    INFO    IR.GetPopup("Room24_AC").Y 115


However, It does not show in the Emulator as moved, it is still at X = 2


And on hide I want to change it's position back, so it will be in the default position for use elsewhere in the project

 IR.Log( 'IR.GetPopup("Room24_AC").Y ' + IR.GetPopup("Room24_AC").Y)
IR.GetPopup("Room24_AC").Y = 2;
IR.Log( 'IR.GetPopup("Room24_AC").Y ' + IR.GetPopup("Room24_AC").Y)   


However this always gives

[27-05-2016 16:34:26.402]    INFO    IR.GetPopup("Room24_AC").Y 2
[27-05-2016 16:34:26.413]    INFO    IR.GetPopup("Room24_AC").Y 2 


I expected if the popup's X coordinate was successfully moved, it should be 115 for the first line and 2 for the second line


How can I change the position of a popup in by script (without deleting it and recreating it)

0
Ожидает ответа пользователя

I need HDL Play Box Design in IRidium. any body can help me

Anees 9 лет назад в iRidium Script / Interface scripts обновлен Dmitry - support (expert) 9 лет назад 1

I need HDL Play Box Design in IRidium. any body can help me

0
Отвечен

How to write to list items?

TuomoHautala 9 лет назад в iRidium Script / Interface scripts обновлен Dmitry - support (expert) 9 лет назад 3

I have created this simple project where I want to read and write on my list level items.

I know now how to read from them but having hard time trying to write to them.

So. How it's done? For example how do i write incoming feedbacks to different levels in list?


var List_1 = IR.GetItem("Frontpage").GetItem("Frontpage_list");


IR.AddListener(IR.EVENT_START,0,function()
{
List_1.Template = "Frontpage_list_template";
List_1.CreateItem(0, 1, {Text: "$V"});
List_1.CreateItem(1, 1, {Text: "$V"});
List_1.CreateItem(2, 1, {Text: "$V"});
List_1.CreateItem(3, 1, {Text: "$V"});
List_1.CreateItem(4, 1, {Text: "$V"});
List_1.CreateItem(5, 1, {Text: "$V"});
List_1.CreateItem(6, 1, {Text: "$V"});
List_1.CreateItem(7, 1, {Text: "$V"});
List_1.CreateItem(8, 1, {Text: "$V"});
});
IR.AddListener(IR.EVENT_LIST_ITEM_CHANGE, List_1, function(Item, Subitem, TypeEvent, object){
switch(Item){
case 0:
IR.Log("Level = "+Item+" Value = "+object.Value);
break;
case 1:
IR.Log("Level = "+Item+" Value = "+object.Value);
break;
case 2:
IR.Log("Level = "+Item+" Value = "+object.Value);
break;
}
});


0
Не ошибка

maximum number of event listeners?

r riksma 9 лет назад в iRidium Script / Interface scripts обновлен Ekaterina (head of support) 9 лет назад 12
while adding a new feature to my project i ran into the following error message:

07-28-2015 12:10:31 Kernel.Info 192.168.253.102 [28-07-2015 12:10:31.000] WARNING Script exception: RangeError: /var/mobile/Containers/Data/Application/52D7C331-9EEE-43AB-9979-20E9A2C44C3D/Library/Caches/iRidiumMobile/project/Isyglt.js:96: error

The line defines an listener like this:
IR.AddListener(IR.EVENT_RECEIVE_TEXT,driver,function(text){});

if i try to create a listener elsewhere in the project some other listener that has worked fine before will give this error.
if i remove a random listener the error disappears.
It seems to me there is a maximum number of event listeners and i have reached this maximum.
Is this true, and is there any way to fix this?


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