now browsing by category

 

Hi everyone, and thank you in advance.

Hi everyone, and thank you in advance. I’m new to scripting and i need to get or develop something very simple, a shutdown-reboot dialog that works without root permissions. ¿Can somebody help me out on this please?

]]>

Dear Script-magicians

Dear Script-magicians,

This javascript thing is driving me nuts. I’m trying to do something very simple, just for fun… I created a small (1×2) panel and called that “mini”. It’s detached from the grid and not pinned. I’m just trying to move the damned thing using a script that runs when the panel is touched. Only thing that happens is an error message:

at line 8: ReferenceError: Cannot call method “setposition” of null

That should mean the getitem method returned null.What am I doing wrong? Here’s the code:

var cont=LL.getEvent().getContainer();

var bar=cont.getItemByLabel(“mini”);

rc=bar.setPosition(1,1);

]]>

This may be interesting for devs coding long scripts in android studio:

This may be interesting for devs coding long scripts in android studio:

I found out, that you can fold parts of the javascript code by marking it and pressing ctrl + dot .

And I was always scrolling 800 lines up and down XD

]]>

Update: Multitool

Update: Multitool

– new:

* search any expression in scripts by TrianguloY 

– improved:

* script import/export (allow any text file, export to .js files, other fixes provided by TrianguloY )

* Graphical appearance: this is only slightly visible. (some dialogs have changed)

* Code readabitility: more functions for structure

As always: this script contains more than 800 linesand over 13000 characters, I can not guarantee anything. please report bugs to me!

https://drive.google.com/open?id=0B40xU-30MxN7X2N1NmRfQ1A1b0k&authuser=0

source (as always): http://www.pierrox.net/android/applications/lightning_launcher/wiki/doku.php?id=script_multitool

https://drive.google.com/open?id=0B40xU-30MxN7X2N1NmRfQ1A1b0k&authuser=0
]]>

Thanks to Bruno-Isa LAMOUR-ARNOULD who reported and Pierre Hébert  who showed the right direction.

Thanks to Bruno-Isa LAMOUR-ARNOULD who reported and Pierre Hébert  who showed the right direction.

Here is a bug fix for the menu change script:

Names with dots now have to be put there without dots.

]]>

Proof-of-concept: get and display the current image from any item

Proof-of-concept: get and display the current image from any item

This displays the current image of the first loaded item in a dialog.

Problem now is: how to identify which view belongs to which item?

]]>

Hi everyone

Hi everyone,

Would mind making blur effect script?

(It is just like what is used in iPhone6 :P)

I want to try it on panels,folders,…all containers!

]]>

There is always a way!

There is always a way!

Update of my last script: customize menu

Now with:

– Changing the selection color

– Hiding specific elements

]]>

Script: enhance lightning menu

Script: enhance lightning menu

This is an example script how to modify the lightning menu background. Scripters – feel free to modify to create even more beautiful menus.

Pierre Hébert​ I feel a bit sorry to hack your app – with your app 😄

This script needs to be run at least every time the launcher gets restarted.

]]>

Hi there all

Hi there all, 

anyone know if there is a way of launching an app via script without using an item?

in my case i’m specify trying to run the google search activity (like if you made a shortcut with “add Item” > “Shortcut” > “Lighting Action” > “search”) and then via script invoke it when i scroll past a y value. 

so far i can only get it to work by adding an item and then via script invoking the item with launch 

var searchItem = LL.getItemById(0x10002);

searchItem.launch();

while there’s nothing wrong with this i guess i was hoping to do it directly with out the need for the item at all as i don’t need to see it. 

thanks in advance!

]]>