Coloring My Drawer

Coloring My Drawer

https://github.com/alogblog/coloringMyDrawer/blob/master/coloringMyDrawer.js

How to use:

1. Copy and paste code into script editor.

2. Insert LL’s “Restart app” shortcut into a desktop.

3. Go to My Drawer, and open its setting.

4. In events option, set Load action to Run Script/your pasted one.

5. Run “Restart app* shortcut.

6. Go to My Drawer again.

7. Then script will ask some option, just select default.

Non latin alphabet users

In the script, you can edit an array for your alphabet’s grouping chars.

Limit on current LLx(10.0.2)

1. LLx’s script engine doesnt do setCell() API permanently. So after you set each app blocks to start from new line, and exit from drawer, its changed position is restored. T.T

Hence until LLx can do it permanently, its of no use.

2. We can’t run this script out of drawer. LLx item.setCell() API doesnt work if item is not loaded. So we used Restart app method for using LOAD event.

LL’s Bug?

If we set drawers LOAD action, strangedly LLx run its action on loading and UNLOADING.

]]>

4 Commentsto Coloring My Drawer

  1. Anonymous says:

    < ![CDATA[

    Cool!


    Maybe you can save the parameters to the scripttag (with json) this way you don’t need to choose them every time

    ]]>

  2. Anonymous says:

    < ![CDATA[

    wont work on mine at all. keeps popping an error on line 206

    ]]>

  3. Anonymous says:

    < ![CDATA[

    TrianguloY Thanks for info.



    User can temporarily(by the time setCell work permanently) edit this script, where global variables are the ones it asks. “SartFromNewLine /Alpha /GapDiv /GapApp.”

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Curtis Sylvester Jr. I checked line 206, but I have no clue about your error… T.T

    ]]>

Leave a Reply

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