Using script, I customized panel size/border/position, etc. When I run, it worked well. No problem.

Using script, I customized panel size/border/position, etc. When I run, it worked well. No problem.

But after just screen off and on, panel’s things all restored.

I repeated running script, verifying OK, turning off/on screen,. Results are alwasy same.

*.commit();

*.setSize/Position();

Don’t those methods record directly to LL’s item DB(?) whatever?

]]>

3 Commentsto Using script, I customized panel size/border/position, etc. When I run, it worked well. No problem.

  1. Anonymous says:

    < ![CDATA[

    Property changes are persisted, but not immediately for performance reason (storage access is slow). Position is persisted, but under some conditions (I need to finalize this). The real question is what happens between screen off/on ? In theory nothing should change, do you mean the app is halted and restarted ?

    ]]>

  2. Anonymous says:

    < ![CDATA[

    I restarted LL app manually by LL shorcut, and size/position of folder which changed by script were reset to 0(auto or default).



    Screen off and on is normal situation. ‘Just press power button and lock’ situation.



    And, cell position of item in a panel changed by script didnt have dual position in land/port mode. I verified panel’s option(dual position enabled), and items positioned manually have respective positions in land/port. But if I change item’s position in port-mode, then it also changed land-mode’s position, vice versa.



    Vaguely I guess my problems are from temporarily storing changes to cache or something, althougt I can’t know exact causes.



    How about letting “LL.commit() or script.commit() or item.commit() whatever” do permant storing right now?



    Some scripts like circualr browsing items or limitless scrolling, may not need that.


    But scripts doing real setting for users convienience may need that.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    I guess this can be an extra optional parameters, like for the setLabel method. There is a temporary version and a persistent version. Position could work the same.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *