now browsing by category

 

Title

]]>

Has distributing scripts as APKs been discontinued?

Has distributing scripts as APKs been discontinued?

I just created an APK from Pierre Hébert ‘s template, installed it, but neither does it show in app drawer nor is the a button in Script Editor to load from APK. How am I supposed to load a script from an APK? There’s only “Import” which requires the Script Importer tool and uses the wiki.

]]>

Calendar widget replacement V2

Calendar widget replacement V2

Now you can select which calendars to use (multiple choice allowed)

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

]]>

Screenshot to my last post

Screenshot to my last post

]]>

Widget replacement: Calendar

Widget replacement: Calendar

This shows your next appointments in a minimalistic way.

Setup:

– install read_calendar package from http://www.pierrox.net/android/applications/lightning_launcher/permissions/ or grant READ_CALENDAR permission via Permission Manager

– create a text item and set this script in its resumed event

– Change the config section o whatever you want

– Set the maxline attribute of the item to showMax or higher

]]>

Title

]]>

Here it is! Animated icons!

Here it is! Animated icons!

This is something I’ve been making since some weeks, and in fact I finished before the current stable version started with the betas. But unfortunately I needed a way to choose a file, and the awesome lollipop file picker doesn’t return the path of the picked file. So I instead used Lighting’s file picker, which had some bugs fixed in the current version 😉 {Did someone notice the animated icon on my previous script video ‘Dynamic editor’? }

Currently the script can only use .gif files, but if you know any icon pack with animated icons that are not gifs, tell me and I’ll try with that. Also if you know an icon pack of gif files tell us in comments, as I could only find this one: https://web.archive.org/web/20150320083052/http://www.redworks.com/en/free-flat-animated-icons (NOTE: the site seems to be now a different one. For this reason the link is from the web archive)

The instructions are easy: run the script from the icon, choose a gif file, and accept if you want it to be automatically animated (otherwise you’ll need to set the script to an event). If your want to change to another gif file, just run the script again.

Important: the launcher keeps the reference of the gif file. If you remove it or change it’s path it will prompt an error.

Note: the more animated icons you have, the slower they all will become. You can change the fps in the script if necessary.

{In the video there are 13 animated icons simultaneously, and they still play at a good rate.}

Technical details:

A Movie file is created with the path chosen as parameter.

Successive timeouts are fired which draws that Movie in the live image of the icon.

]]>

General small utility that lets you enable/disable scripts one by one.

General small utility that lets you enable/disable scripts one by one.

I personally used it when I needed to check if a script was taking long to load, instead of writing ‘return’ at the beginning.

For you to remember: when you open a script in the script editor it is automatically enabled.

]]>

“Material Folders” now has 6 effects:

“Material Folders” now has 6 effects:

– Header first, then background

– Background first, then header

– Full color, then background

Each with background reveal from center or icon.

Also configurable: header on top or bottom and more.

Coming quite soon… promise!

]]>

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

]]>