Admittedly, I haven’t looked hard enough at the api yet, but how (from a script) do I access “data passed to the…
Admittedly, I haven’t looked hard enough at the api yet, but how (from a script) do I access “data passed to the script” that was sent whenever the shortcut was created? Also, is there any way to change this data? Thanks in advance.
]]>
< ![CDATA[
LL.getEvent().getData()
No, ATM you can’t change this data
]]>
< ![CDATA[
Lukas Morawietz awesome! Thanks for the lightning [launcher?] fast response!
]]>
< ![CDATA[
What do you mean by “change the data” ?
]]>
< ![CDATA[
Once you create the shortcut, that’s it. There’s no way to change the parameter data … via gui or a function such as LL.getEvent().setData()
not saying that there needs to be a way, but…
]]>
< ![CDATA[
There is a way: changing the intent.
]]>