now browsing by category

 

dev Tool: autoformat scripts

dev Tool: autoformat scripts

Autoindent and remove unnessecary spaces, line breaks and tabs

May produce bugs! (can’t test everything.) Use with care.

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

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

This small script try to reproduce the dynamic icon (calendar) of nova launcher.

This small script try to reproduce the dynamic icon (calendar) of nova launcher.

It will just set the custom icon of the defined item depending on the month. However it’s extremely easy to modify and perhaps it gives you ideas to another different script.

Instructions:

>Set it in the resume event of the container which has that item.

>Write the package name of the icon pack. This is not obvious and looks like com.pack.icons, you will need another app to know it. ( Pierre Hébert: will it be possible to show it in the new icon picker when long clicking the name of the icon pack? )

>Write the prefix of the 31 items containing all the different months. By default it is ‘ic_calendar_’ but it can change depending on the icon pack. Search items labeled prefix1 prefix2 prefix3 …

>Set the label of the item to identify it.

If you have another script in the resumed event you can copy this at the beginning without problem (or set it in the load event…it will only act once a month after all)

]]>

Fast run tool V2

Fast run tool V2

I’ve been improving my fast run tool script adding new functions and awesome features, now it’s time to publish it.

I also updated all my scripts in the wiki with the new syntax tag to be able to copy them better (if there is a problem tell me)

New features described in the page but the most important is the ability to use alerts/prompts/all! Thanks to Pierre Hébert , you showed me how to make it with your example of Script.getText() 😉 Thanks!

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

Hi All

Hi All,

Quick Question 😉

I have a Screen with vertical Scroll.

i need a trigger/event when reaching specific positions on desktop without interrupting/stop scrolling.

event position changed triggers to often.

any ideas? or not possible?

Thanks in advance 😉

]]>

Been trying to set the color of a panel to the color of the open folder for a while now but keep getting a null…

Been trying to set the color of a panel to the color of the open folder for a while now but keep getting a null pointer exception on the commit.. Any body have any ideas???

var event = LL.getEvent();

var desktop = event.getContainer();

var flds = LL.getOpenFolders();

var fldLen = flds.getLength();

if (fldLen > 0) {

var fld3 = flds.getAt(0);

 var editor = fld3.getProperties().edit();

 var box = editor.getBox(“f.box”);

  var editor2 = desktop.getProperties().edit();

var box2 = editor2.getBox(“f.box”);

var color = box.getColor(“c”, “n”);

box2.setColor(“c”, “n”, color);

editor2.commit();

}

]]>

MultiTool

MultiTool

I have a lot of little scripts which I use often.

Now I grouped them in this script.

I’ll probably add functionality constantly.

Hope I can make your life easier 😉

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

You have Ideas/ scripts to add? Tell me!

TrianguloY  I hope it’s ok I included your Reset tool, I am using it often…

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

Just wanted to let u know, that I have done some stuff with several scripts :

Just wanted to let u know, that I have done some stuff with several scripts :

– Folder dim script : fully automated setup

– Animation Bulldoze : standalone, reworked structure.

What I likely gonna do in the next week:

– all animations : standalone, rework structure

]]>

App Drawer in any Container

App Drawer in any Container

Thousand times requested, finally possible!

Use any container as an App Drawer.

And the best: it’s faster than the original drawer

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

http://www.pierrox.net/android/applications/lightning_launcher/wiki/doku.php?id=script_app_drawer&#issues_and_hints
]]>

Awesome, this is awesome.

Awesome, this is awesome.

Pierre Hébert: do you remember one of my old suggestions about launch an app with the ‘clear flag’, I mean to launch it as new instead of open again as from the recent menu.

Well, just launch this from the shortcut:

var i=LL.getEvent().getItem();

var nt= i.getIntent();

i.setIntent(nt.clone().addFlags( Intent().FLAG_ACTIVITY_CLEAR_TASK ));

i.launch();

i.setIntent(nt);

Awesome, we have almost full power from Intents :DDD {perhaps it’s too much but what about LL.launchIntent(Intent intent); ?}

]]>

Page Bookmark: Fade

Page Bookmark: Fade

Requested by Silvia Rivera  (https://plus.google.com/110839325256080910341/posts/6ap4YGPEJy3)

For instructions you can also look here:

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

]]>