September, 2014
now browsing by month
So here is my work in progress for passing variables directly to Zooper.
So here is my work in progress for passing variables directly to Zooper.
I use the folder Resume event to run the script.
I’m passing the folder name to a text variable LFOLDER and using a text element with the variable #TLFOLDER#
I’m also passing “on” to variable named the same as the folder. In Zooper it using an iconset I created ( one for each folder) & reading the variable uses either the white or green icon.
I have another script send a”” to the text variable and “off” to the folder variable.
var fldr = LL.getEvent().getContainer().getOpener().getLabel();
var intent = new Intent(“org.zooper.zw.action.TASKERVAR”);
var bundle = new Bundle();
bundle.putInt(“org.zooper.zw.tasker.var.extra.INT_VERSION_CODE”,1)
bundle.putString(“org.zooper.zw.tasker.var.extra.STRING_VAR”, “LFOLDER”);
bundle.putString(“org.zooper.zw.tasker.var.extra.STRING_TEXT”, fldr);
intent.putExtra(“org.zooper.zw.tasker.var.extra.BUNDLE”, bundle);
LL.getContext().sendBroadcast(intent);
var intent = new Intent(“org.zooper.zw.action.TASKERVAR”);
var bundle = new Bundle();
bundle.putInt(“org.zooper.zw.tasker.var.extra.INT_VERSION_CODE”,1)
bundle.putString(“org.zooper.zw.tasker.var.extra.STRING_VAR”, fldr);
bundle.putString(“org.zooper.zw.tasker.var.extra.STRING_TEXT”, “on”);
intent.putExtra(“org.zooper.zw.tasker.var.extra.BUNDLE”, bundle);
LL.getContext().sendBroadcast(intent);
]]>Folks, pretty new to LLX, coming from SmartLauncher.
Is this possible with LLX just wanna be sure before I recommend it.
I’ve changed the script repository structure to a table. What do you think?
IMO it gives it a cleaner look, but it’s easy to restore the List View as it was before. So if you don’t like it…
http://www.pierrox.net/android/applications/lightning_launcher/wiki/doku.php?id=script_repository
]]>I really need to import js file on top of scripts.
I’m making some API for thing that Lukas Morawietz use to do in it’s scripts (like read/write to file system)
and adding 30 lines on top of any script just to add a class to manipulate file system is not really good I think…
First comment is the FileRW API to manipulate file system
Second comment is the last script from Lukas Morawietz using my API… (just to make an idea..) (it’s more readable 😉 )
]]>Next code snippet: change the homescreen
Be aware that an invalid value may cause unexpected behaviour
]]>Forgot the text on the popup when changing an items name.. It still says ‘label’
Forgot the text on the popup when changing an items name.. It still says ‘label’
]]>