now browsing by category

 

Does anybody know a way to use a custom xml layout file for the childView in a expandable list?

Does anybody know a way to use a custom xml layout file for the childView in a expandable list? Might be a bit of a far out question, but I know there are some really smart guys here.

]]>

This might be suggested before, or there might already be a known way of doing it, but is there a way to get all the…

This might be suggested before, or there might already be a known way of doing it, but is there a way to get all the tags associated with a script? If not, it would be nice to see such method in the scripting api :).

]]>

clipboard viewer

clipboard viewer

This is a small (this time it is small, really) script that will show the content of the clipboard in an editable textbox.

How to add the textbox: add a custom view and set this script in the create event, the resumed event and the paused event (I used a trick to detect the created event that maybe will be broken in the future. If so tell me to fix it)

How to use the textbox: everything is shown in the video but here is the summary

When the textbox is resumed it takes the content of the clipboard, if it is text.

When the textbox is paused:

If the textbox didn’t changed, do nothing

If the textbox changed and the clipboard don’t, the content of the textbox is copied into the clipboard

If the content of the clipboard changed, even if the textbox changed too the clipboard keeps the text, and the textbox is discarded. This is done this way to be able to, for example, copy a part of the current clipboard easily.

It doesn’t use clipboard listeners. I know I can use them to update instantly the content, but in my opinion that’s not necessary in this case. This way the battery impact, if any, should be the minimum.

Note: you can change the color of the text in the first line of he script.

]]>

select and launch

select and launch

This is a small script that makes tap to select, and tap again to launch.

As seen in the video with the first click the item is selected, and when clicking again the item is launched.

If you click the background, the selected item, if any, is deselected.

And, if you click an item while another one is selected, the ‘selector’ indicator moves smoothly (more or less).

A nine patch is highly recommended!! This is the sample one used in the video https://www.dropbox.com/s/xmat6pf1vy6mt5c/selectable.9.png?dl=0

Note: the original script was very simple, so I added a wizard to help in the installation process…and to make the script a bit more complex 😛

So you only need to run the script in the container (remember to check the lightning menu checkbox in the script editor) and follow the instructions.

The same to uninstall it.

]]>

I want to use “parseColor()” function, so i include “android.graphics.Color” class;  then i call the function in…

I want to use “parseColor()” function, so i include “android.graphics.Color” class;  then i call the function in this way:

LL.parseColor(“#ffffffff”);

It should work, but appears the alert “Cannot find function parseColor in object …….”

What am i doing wrong?? D:

]]>

New script if you want to have multiple things happen on the same event.

New script if you want to have multiple things happen on the same event. Does require some scripting knowlegde to use though. If there are any bugs please let me know, but it should work fairly well. If you have any suggestions on how to improve this let me know too! Import it here: http://www.pierrox.net/android/applications/lightning_launcher/wiki/doku.php?id=script_event_bus

http://www.pierrox.net/android/applications/lightning_launcher/wiki/doku.php?id=script_event_bus
]]>

It’s possible to create taskers through scripts without using Tasker(the app)?

It’s possible to create taskers through scripts without using Tasker(the app)?

]]>

Hey, could anyone explain to me how to properly use SetAlpha to change item alpha value?

Hey, could anyone explain to me how to properly use SetAlpha to change item alpha value?

]]>

I don’t know if this is also in the script API, btw I want to ask here to make it faster and to make it right.

I don’t know if this is also in the script API, btw I want to ask here to make it faster and to make it right.

There is a way to take an image as input through the built-in file manager(LL file manager…)?

P.S. Using scripts obviously

EDIT: and get color through the buit-in colorpicker?

]]>

Assign a Counter for whatsapp as a label for an empty shortcut with tasker.

Assign a Counter for whatsapp as a label for an empty shortcut with tasker.

the rar contains 2 tasker profiles (1 to count, 1 to empty) and the script for LLX

https://drive.google.com/open?id=0B2Gltk_LlAG4aFB5aVlJWXNHRGs&authuser=0

With help from Pierre Hébert and Evelien Wijbenga 

who wrote this tutorial

https://plus.google.com/+EvelienWijbenga/posts/Bk4ho766SUe

Thought i would share 🙂

https://drive.google.com/open?id=0B2Gltk_LlAG4V1pHdVBFNm81TWs&authuser=0
]]>