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.
]]>« This is a PIN code lock screen, made with a few shortcuts and a script. (Previous Post)
(Next Post) v9.9.10 beta »
< ![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
]]>
< ![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)
]]>
< ![CDATA[
there is a space in the link…
replace it with %20
http://www.pierrox.net/android/applications/lightning_launcher/templates/Pin%20code
]]>
< ![CDATA[
Bogdan Tautu Thanks! In fact I tried with the %20 … But I was writing Code
]]>
< ![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.
]]>