API script suggestion:

API script suggestion:

The item.getTag() , setTag() is awesome (I’ll post a lock screen script soon) however there is something that stops me…It is attached to an item.

Suggestion: what about a tag attached to the script itself?

Possibility 1) I don’t know how JavaScript works exactly, but maybe there is a way to make a constant var (like this.tag…or whatever)

Possibility 2) add a

LL.setTag(String tag),

String LL.getTag()

that will get/set the tag of the script. Optionally maybe also two overloads

LL.setTag(String tag , String script)

String LL.getTag(String script)

to allow set/get the tag of other scripts…maybe useful in the future.

]]>

5 Commentsto API script suggestion:

  1. Anonymous says:

    < ![CDATA[

    Oh, I just posted a lockscreen a few seconds ago !


    I will see if this is possible, but I am worried that the script name is not anymore a unique identifier, so it might be a bit unsafe

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Yes I saw it lol.


    Talking about the lock screen, where is the script? The link is broken…or not updated yet.


    (Also, but I don’t want to bother you, I made a customizable one in the past. 23/feb in the alpha community, with a video)

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Bogdan Tautu Thanks! In fact I tried with the %20 … But I was writing Code

    ]]>

  4. Anonymous says:

    < ![CDATA[

    TrianguloY I missed it ! I didn’t even see you already asked about persistence in this post. Fortunately you asked again later and this is this feature which allows storing the pin code somewhere.

    ]]>

Leave a Reply

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