now browsing by category
Hi all.
var name= “parallax” //the label of the item
var amount = 0.5 //the parallax effect, between 0,1
var cont=LL.getEvent().getContainer();
var it=cont.getItemByLabel(‘vert_1’);
it.setPosition(cont.getPositionY()* amount+it.getHeight()* (amount+1),0);
]]>New kludge incoming :D
Create a Desktop by Script: this script provides the function createDesktop(name)
]]>I’m making a more user-friendly & easy-to-use API for Tasker, I wanted to have your reviews on it.
Here is the link for the folder with :
– ideas.js (with ideas for usability of the API)
– TaskerTask.js which is the API class (you’ll see the beginning)
others files are help files for me…
so, what do you think ?
I’ve created this function to simplify creating such lists.
I’ve created this function to simplify creating such lists.
Feel free to use it 😉
I use it already in MultiTool (picture) and AutoFormat scripts. It works fine for me.
And it’s scrollable.
]]>– sum up post (again) – – Uploaded Export Scripts Script to the wiki
– Uploaded Toggle Visibility Appdrawer Script to the wiki
– Big UI update for Multitool Script
– Autoformat Script: Ability to format all scripts, big UI update
Benoît de Chezelles all these scripts are commented, and I’ll try to comment everything I upload to the wiki in the future
]]>Toggle only Hidden/Visible in App Drawer
As requested by Efren Rivera
Nothing is impossible with scripts!
This is a bit hackish, make a backup before try.
It has to restart the launcher to work, so it may “flash” shortly.
Pierre Hébert is there an easier way to toggle hidden/visible in the app drawer? Or to cause an update/reload on the app drawer files?
]]>Coding Standard Proposal
Since we coders all use item.TAG sooner or later, somehow. I think we need a non interfering way to set it for our purpose
Here’s my proposal :
var cnf = JSON.parse(item.getTag())||{};
if( !(“SaveClr” in cnf)) {cnf.SaveClr = {};}
cnf.SaveClr.BG = px;
cnf.SaveClr.FG = pxtx;
item.setTag(JSON.stringify(cnf));
]]>It must be simple but I can’t seem to get the folder label in a script.
I can send the Id to Zooper no problem but really want to send the label.
]]>– Sum up post –
× The gesture launcher script seems to be overall stable, so I decided to put it in the wiki. Would be nice if some of you could try it out.
× minor updates to MultiTool and AppDrawer scripts
× Autoformat script: saves now formatted script automatically by default
]]>
D5 Creation