Uw opmerkingen

Another feature related to screensavers would be to have the option to show a popup instead of a page. That way when the user touches the screen, only the 'screensaver' popup is hidden and all other pages/popups that were opened are still open.

But I guess having the option a.pivovarov describes (an EVENT_SCREENSAVER event) would be the best option.

Okay, I would've never thought this grouping feature worked like that. If I place the 2 popups in a folder, can I show/hide that folder at once?

As soon as I place the 2 popups in 1 group, and I call ShowPopup for each one, only one of them opens.

They are both in "New Group".

I call Show Popup 2 times:

Only "Menu" opens.

As soon as I remove them from the group, it starts working immediately.

I have a menu that consists of 2 popups. Each with a different effect.

The left part (not transparent) slides in from the left, the right part (partial transparent) fades in.

When I open and close the menu I have to have 2 IR.ShowPopup() and IR.HidePopup calls, I thought the grouping feature could come in handy now.

If I assign a value to the token, then close the application the entry is written. If I then open the application again (so an entry is already there) it's not being updated on IR.SetVariable. So I don't understand why, in the first post, you said:

Project Tokens store values immediately after IR.SetVariable is run


Second, you don't need to write the token value to XML directly after the IR.SetVariable. You're right the HDD's will be stressed by this if you write every second. That is why I was suggesting a function (IR.PersistTokens()) to manually store the token values. That way the programmer can decide for himself when to persist the token value to disk.

Thanks for taking this under consideration.

I have checked this by opening the irconfig.xml file in the Client folder, but after the IR.SetVariable the file still contains the old value. Only when you close the emulator, the file is updated and the new value is written....

The token is already created in the project.


I've attached the test project so you can see, the "add 1" button adds 1 to the current token value and uses IR.SetVariable.


StoreToken.irpz

We just add the RTSP license and show the stream of the camera in iRidium on the popup that is shown when someone rings the door. It takes a second or so to load the image, but a least you're not relying on SIP image (which I never got to work).

I've also been wanting this for some time. Using the GlobalListener means I have to keep track of all the created buttons and the feedbacks they are linked to, to be able to update the state of the correct button.

It would be a lot easier if we could do (for example):

IR.GetItem("Page 1").GetItem("Button 1").AddRelation(IR.GetDevice("Device 1").GetFeedback("Feedback 1");

Ok, so it already exists, but it's not documented?

https://dev.iridi.com/JS_Handbook/en