After watching the latest video about bindings feature on youtube made me realize I wanted to
After watching the latest video about bindings feature on youtube made me realize I wanted to
try something like this but don’t know how. what i’m trying to do is instead of having 2 shortcuts(show and hide) for transparency is it possible to have only a single shortcut as a toggle?
]]>« Concerning the beta: (Previous Post)
< ![CDATA[
Well you could make a toggle task in Tasker if you have Tasker. From that task you can set the variables to 1 or 0. Put that link as short cut on your screen or Link that task to whatever, maybe swipe.
]]>
< ![CDATA[
Evelien Wijbenga i don’t have tasker but thanks.
]]>
< ![CDATA[
something like this script:
LL.setVariableFloat(“transp”, LL.getVariables().getFloat(“transp”)==1 ? 0 : 1);
]]>
< ![CDATA[
Pierre Hébert Thank you so much! Will try this asap 🙂
]]>
< ![CDATA[
I gave the script a try but I get an error saying cannot find function set variable in object…
]]>
< ![CDATA[
setVariableFloat instead of setVariable (comment edited)
]]>
< ![CDATA[
Awesome. Works perfect. Thanks Pierre.
]]>