Archives

now browsing by author

 

In app drawer/my drawer i use different grid size.

In app drawer/my drawer i use different grid size. Portrait have 5×6, landscape have 9×3. I have set dual position for app drawer. If am in portrait and doing sort by az and now i doing rotate to landscape, now i dont see every apps (some apps are on bottom). I must doing sort by  az, now i see correctly apps. But if i doing rotate back to portrait, now i see less app (only 3 line), than i have grid and i must doing sort by az. But now is bad landscape, this is never end story… Pierre Hébert

In other category (for example by name) isnt this bug visible. Only in my drawer.

]]>

This is a suggestion, but maybe there is currently a way to do this and I didn’t found it yet (If that’s the case…

This is a suggestion, but maybe there is currently a way to do this and I didn’t found it yet (If that’s the case tell me! )

An item.bringToView() function that will scroll/open/change all necessary containers so that the item is visible on the screen (more exactly ‘inside the screen view’, maybe it is behind something and you can’t see it but you get the idea)

Technically the effect I’m looking for is the same as when you click the pencil button of an item in the hierarchy menu, but without entering edit mode (but if it’s easier entering it I’m ok with it)

I know you can go to the desktop, open the necessary folders and scroll to the places where it needs to. But lightning already does this.

The effect I want is a script that, with the id of a item, can do ‘here you have that item’ and so the user can find items easily from script (as I said, like the hierarchy menu)

]]>

Hi.

Hi.

I’m new to LL, experienced with UCCW, Zooper and Tasker but having difficulties making a simple scrollable dock with 3 pages (horiz) 4 icons each. When I add icons to the panel I end with some empty pages. Once (don’t know how) I got a 4×3 without empty pages but the icons were in the wrong order and managing priority had no effect.

How can I remove that empty pages?, also sometimes it scrolls vertically (into empty pages) even after I check for Horizontal Only in Scroll Direction.

Using LL 5.1 and my panel settings are Mode columns (fixed number), number columns (4), mode rows (fixed number), number rows (1), desktop size not checked, and Snap to pages checked. Seamless mode X & Y not checked for now, but when working well I’d like seamless for horizontal.

]]>

Provide the way to tell desktop’s onLoad SOURCE

Provide the way to tell desktop’s onLoad SOURCE

I’ve just found(learned) a desktop’s onLoad event is called even on

opening menu.

If we enter that menu, we see a series of desktop’s thumbnailed images.

In that menu, all desktop’s onLoad events are called if they aren’t already loaded. It does make sense to call onLoad event at that moment.

I think most of onLoad event-handler-script  of desktop do some initialization about desktop items like folder/panel etc.

But if onLoad is called even that menu scene, we dont’ have to initialize, moreover, we CAN’T initailze, because desktop’s sub items(folder,etc) is not instantiaed yet. That means NULL error-prone.

So I’d like to have a way to tell onLoad event’s SOURCE.

For now, all cases give C_LOADED value.

If a desktop is loaded for Config-desktop menu, then LL can give its source as other value. Then we can deal that case differently.

]]>

setPosition exception right after desktop onloading

setPosition exception right after desktop onloading

// script set to onLoad event of desktop.

//setTimeout(function() {

  var dt = LL.getCurrentDesktop();

  dt.setPosition(0, 0, 1, false); // go to home position with no animation, scale 100%.

//},5000);

Android.makeNewToast(‘Moved to home.’, true).show();

I know that on loading of desktop, its position moves to home automatically. So generally speaking we dont have to call it manually.

Anyway, apart from that, above script has no problem at all theoretically.

But if I make LL restart, then LL emits error popup saying

“Wrapped java.lang.NullPointerException” ( at setPositin line)

Of course, dt is not null at all.

So I delayed execution by setTimeout, but in no vain.

]]>

Hello guys.

Hello guys. I have very simple(I hope) problem. I recently started self learning JavaScript. I’m trying to write a simple script for my phone launcher (lightning).

I have a main folder and subfolders within it on my desktop. I’m trying to get my script to close other subfolders that are open when I press a subfolder but not close the main folder. This is what I have so far –

var fr = LL.getEvent().getContainer(); var sib = fr.getItemByLabel(“sb”); var f=LL.getOpenFolders(),fll=f.getLength(); if(fll>0) for(var i=0;i

sb is the name of my main folder, I don’t know how to define the current folder I am pressing or remove them both from the last function.

Thanks

onLoad event of desktop is being called twice at restarting LL

onLoad event of desktop is being called twice at restarting LL

I set the desktop’s onLoad event handler to “Run Script”.

And that script has one line like “Android.makeNewToast(Date.now() + ” onLoad…”, true).show();

If I restart LL, then two toast messages are show with different date value.

Because it’s too weird, I tested it in newly installed LL in a virtual machine. However the same result was happened with successive two toast. That means onLoad was called twice at restarting LL.

Its bug? or my bad luck?

]]>

Here is a challenge: Who already has or is working on the best looking/practical theme/setup/build/rig (insert your…

Here is a challenge: Who already has or is working on the best looking/practical theme/setup/build/rig (insert your word here) for LL but ONLY using LL?

No 3rd party widgets or tasker. Just straight up, raw LL.

You can use scripts and custom views and anything that it is intrinsic to LL such as special permissions and the like!

Post Below!

]]>

again and again problems with bindings.

again and again problems with bindings.

always when i use items with bindings inside a panel i have trouble with them. after a while (hours, minutes or seconds) the bindings stop working. 

it’s frustrating and drives me crazy.

i do this disable/enable bindings  and disable/enable “use hardware acc…” a hundred times for the items and the panels too. 

it is more worse than before the last update. 

please, please, please Pierre Hébert fix this.

]]>

All script, all Lightning.

All script, all Lightning.

Game on, Lightning.Kiddo​ aka Jappie Toutenhoofd​

Originally shared by Lightning.Kiddo

DeLuXe-template overview.

[Card effect by Lutz Linke​]

]]>