now browsing by category

 

Is it possible to check in a script if another is running ?

Is it possible to check in a script if another is running ?

Or is it possible on event to run the second script when the first one is finished ?

For the moment I’ve set Timeout in my second script but it’s not a very clean solution

+TrianguloY

]]>

Hi everybody.

Hi everybody.

I wold like to know how to change the user menu color. like from red to gray, etc…

]]>

To the script experts:

To the script experts:

Why does Lightning crash when uncommenting the line with “onKeyPreIme” and you are pressing the back key on the soft keyboard while the EditText is focused?

Anything wrong with how I try to extend EditText? Should be correct, code-wise?

Use following code as createscript for a custom view:

bindClass(“android.widget.EditText”);

var edit = new JavaAdapter(EditText,

{

//onKeyPreIme: function(keyCode, event) { }

},LL.getContext());

return edit;

Any help would be much appreciated. Thanks guys.

]]>

Anyone have any scripts/advice on making a card stack that looks and scrolls similar to the recent apps page (as…

Anyone have any scripts/advice on making a card stack that looks and scrolls similar to the recent apps page (as seen in this video)?

]]>

Have you any idea HOW TO SHOW DIRECTORY LISTING (dirs and files) in WIDGET, BADGE or DYNAMIC TEXT (best with…

Have you any idea HOW TO SHOW DIRECTORY LISTING (dirs and files) in WIDGET, BADGE or DYNAMIC TEXT (best with scrolling)?

WHY? I’m using dirs as simple GTD and I want to see my tasks directly in LL. 😉

Can be updated manually or better when target directory changed.

Sorting simple alphabetical, better also switch to sort by date.

Will be also really great to have a “+” button to add new task into showed directory. 😀

I never tried scripting in LL, but I hope it can be done by LL.

I still have not found any widget that could do this. Do you know anything?

]]>

Do you know how to include LL template into APK file?

Do you know how to include LL template into APK file?

Tell me, please …

]]>

Hi Pierre Hébert​

Hi Pierre Hébert​

Is it possible to set an apk with wifi access state permission ?

]]>

How can I do the following?

How can I do the following?

I have a widget on my main desktop. I want it to be hidden when I resume to LL, then appear with a fade in animation.

I’ve made the script below. The operations work by themselves, but when put together, nothing happens.

I guess some of these functions must be async.

var editor;

var widget = getActiveScreen().getCurrentDesktop().getItemByName(‘sectograph’);

widget.setBinding(‘i.alpha’, ‘animate(“$widgetTransparency”)’, false);

editor = LL.getVariables().edit();

editor.setInteger(‘widgetTransparency’, 0);

editor.commit();

var widgetEd = widget.getProperties().edit();

widgetEd.setInteger(‘i.alpha’, 0);

widgetEd.commit();

widget.setBinding(‘i.alpha’, ‘animate(“$widgetTransparency”)’, true);

editor = LL.getVariables().edit();

editor.setInteger(‘widgetTransparency’, 255);

editor.commit();

]]>

Pierre Hébert is it possible to use JavaAdapter with a class loaded by a classloader?

Pierre Hébert is it possible to use JavaAdapter with a class loaded by a classloader? I’d use the NativeJavaClass constructor, but it is obfuscated, and I don’t know how to get a scriptable.

]]>

two questions for the scripting experts here:

two questions for the scripting experts here:

1. what is the best way to introduce a “wait time” or delay of a few seconds in a script?

2. when sending an intent using startActivity, is it possible to use the format “intent:#Intent;action=ACTION,package=PACKAGE …”? what is the correct syntax for sending an intent this way?

thanks! tried looking through this forum but couldn’t find any answers …

]]>