February, 2015
now browsing by month
v10.7b6
An iteration over the previous beta, with many minor fixes, improvements or refinements.
This time the app drawer has received quite a few changes, especially a new “batch add” mode. Let’s see how it goes.
And there’s a new default setup. For those adventurous enough to backup and clear their app’s data, I would be glad to hear your opinion 🙂
The next version will be either the release, or another beta if bug fixes need it, but I don’t plan to add any new feature in this round. I would like to freeze the current version for the release. Only one thing is missing in this update before the release: the icon.
Enjoy!
]]>About the GlobalConfig object.
As it contains the parameters to use with runAction, I think you should keep it binded by default, instead of needing to use bindClass first.
(Btw, how do we use the HINT objects? They have the same number as other actions, seems to be flags. Also, what is loadFieldsFromJSONObject? )
]]>LLX how to edit when too many pin items.mp4 : http://youtu.be/2DfdC7bdqiU
A little problem here, I have unchecked the option ‘honor pinned items in edit mode’ but it’s very annoying anyway, the items are pinned even in edit mode 🙁
One thing I cannot understand, is why we can’t use swipe event in a panel?
I have both these dynamic calendar scripts working separately in my app drawer, but when I tried making the new…
//go to the icon picker and search the 31 items. Long click the first one (it will be copied) and paste it here between the brackets
var link = [ “com.thaphlash.random”, “today_1” ]
//This is the label of the item to put the icon to
var labelName = “Today Settings”;
//write true to set the calendar based on the month. By default it’s false: based on the day
var month=false;
//end of config
if(link.length==0){alert(“follow the instructions and paste the icon properties in the script”);return;}
LL.bindClass(“java.util.Calendar”);
var now=Calendar.getInstance().get(month?Calendar.MONTH:Calendar.DAY_OF_MONTH);
if(month)now++;
//only when change, or run from item
if(now.toString()==LL.getScriptTag()&&LL.getEvent().getSource()!=”MENU_ITEM”)return;
LL.setScriptTag(now);
var iconPackName = link[0];
var prefixName = link[1].substring(0,link[1].length-1);
var item=LL.getEvent().getContainer().getItemByLabel(labelName);
if(item==null){alert(“no item found, make sure the label is the same as in the script”); return;}
var icon=LL.createImage(iconPackName,prefixName+now);
if(icon==null){alert(“no icon found, make sure the pasted data is right and the icon pack have it”);return;}
item.setCustomIcon(icon);//go to the icon picker and search the 31 items. Long click the first one (it will be copied) and paste it here between the brackets
var link = [ “com.thaphlash.random”, “calendar_1” ]
//This is the label of the item to put the icon to
var labelName = “Calendar”;
//write true to set the calendar based on the month. By default it’s false: based on the day
var month=false;
//end of config
if(link.length==0){alert(“follow the instructions and paste the icon properties in the script”);return;}
LL.bindClass(“java.util.Calendar”);
var now=Calendar.getInstance().get(month?Calendar.MONTH:Calendar.DAY_OF_MONTH);
if(month)now++;
//only when change, or run from item
if(now.toString()==LL.getScriptTag()&&LL.getEvent().getSource()!=”MENU_ITEM”)return;
LL.setScriptTag(now);
var iconPackName = link[0];
var prefixName = link[1].substring(0,link[1].length-1);
var item=LL.getEvent().getContainer().getItemByLabel(labelName);
if(item==null){alert(“no item found, make sure the label is the same as in the script”); return;}
var icon=LL.createImage(iconPackName,prefixName+now);
if(icon==null){alert(“no icon found, make sure the pasted data is right and the icon pack have it”);return;}
item.setCustomIcon(icon);
]]>Scripting help request :)
I’ve set up my new desktop with a sidebar which has shortcuts to different positions (pages) on my desktop. I want to be able to highlight whichever shortcut is for the current position (similar to the sidebar on the Inbox app).
So basically I need to highlight an item in a folder based on desktop position and have no idea where to start. I recall a post from a whole back from someone who did something similar based on which folder they had open but I can’t find the post now. Any help would be greatly appreciated.
]]>Is there an API for changing colors of built-in page indicator? I can’t find anything useful in API reference…
TrianguloY , Lukas Morawietz : would you agree if I add a link to the Repository Importer in the script editor ?
As I imagine the thing, this would be an “Import” button near the “New” button. It would redirect to the package installation if needed, otherwise it would launch the import directly.
I noticed a “market://” link in http://www.pierrox.net/android/applications/lightning_launcher/wiki/doku.php?id=import_a_script_directly_into_ll, do you plan to publish it ? (would be great!)
]]>
D5 Creation