now browsing by tag

 
 

Questions on bindings:

Questions on bindings:

1. I have an item text label bound to a builtin variable. I have a separate script which changes the item’s text label (that works). How do I change it back the “default” binding based on the builtin variable?

2. What is the best way to using bindings to change an item’s property when the same item is touched?

]]>

Pierre Hébert  b7 bug: addition of box bindings seems to have distorted scripts that refer to box properties

Pierre Hébert  b7 bug: addition of box bindings seems to have distorted scripts that refer to box properties

getBox(“i.box”).setSize(string, int) is not working for me in b7 while it worked fine in b5 and non-beta versions

]]>

Help request with scripting to change the background color of an item (named background).

Help request with scripting to change the background color of an item (named background). When I run this nothing happens. What am I doing wrong?

LL.getCurrentDesktop().getItemByName(‘background’).getProperties().edit().getBox(“i.box”).setColor(“c”,”nsf”,0xFFE91E63);

LL.getCurrentDesktop().getItemByName(‘background’).getProperties().edit().commit();

]]>

Is it possible to scroll and change zoom at the same time (how would one script it)?

Is it possible to scroll and change zoom at the same time (how would one script it)?

Or … when a folder is opened/expanded, can it be in the background?

I want to change my background image with a zoom effect (similar to a folder opening), and could use some help …

]]>

Pierre Hébert question on bindings (created a new post since there are already 43+ posts on your V12.5 announcement):

Pierre Hébert question on bindings (created a new post since there are already 43+ posts on your V12.5 announcement):

How does the efficiency (battery wise) and latency (responsiveness) of bindings compare to the use of scripts for the same objective? I already have scripts set up for the effects I want, and am wondering if there are any benefits from converting them to bindings?

Does the answer differ for (1) type of binding, and (2) whether the script involves Tasker variables or Lightning-only variables?

]]>

After updating to v12.4 (and Lollipop), I’ve found that when swiping over items that also generate events when…

After updating to v12.4 (and Lollipop), I’ve found that when swiping over items that also generate events when tapped, the tap event gets activated way too often when my intent is to simply swipe

Is anyone else experiencing this? Unfortunately I updated to v12.4 and Lollipop concurrently so can’t isolate which one is causing the problem

]]>

Trying to get the next alarm set string from Settings.System using script.

Trying to get the next alarm set string from Settings.System using script. Using the following but getting an error, any help much appreciated:

LL.bindClass(“android.provider.Settings”);

var alarm = Settings.System.getString(getContentResolver(), Settings.System.NEXT_ALARM_FORMATTED);

Note: I know that the above method was deprecated in Lollipop but am trying to implement this on KK

]]>

For Tasker users, it would be very helpful to have the “passed data” contents from the LL script action available in…

For Tasker users, it would be very helpful to have the “passed data” contents from the LL script action available in the subtext of the Tasker task show on the action list view, so one does not need to go into each action to identify what the script is trying to do

]]>

What is the best way to change the properties of multiple items via script at once?

What is the best way to change the properties of multiple items via script at once? A “for” loop could do it but is there a simpler way?

Can we set items to the same name and use getItemByName?

]]>

I’d like to use a script to update the box background of an item by referencing a file on my sdcard, but can’t get…

I’d like to use a script to update the box background of an item by referencing a file on my sdcard, but can’t get the setBoxBackground command to work. Could use some help from the script experts here …

]]>