March, 2014

now browsing by month

 

9.9.10 introduced a bug involving array .split() function staying regEx is not allowed..

9.9.10 introduced a bug involving array .split() function staying regEx is not allowed..

]]>

Find items script

Find items script

This script will go through all the items in the container were it was launched. It will show basic info about it, and the item will be in the topleft corner. ( then a zoom out will shows you where it is)

Also, the script automatically make the items with Alpha 255, the frontmost and will unpin it. To keep these modifications (in case the item was lost somewere) stop the script from the popup. If not, the original settings will go back.

(to sum up: in the “continue?” popup, Yes->no changes; No->changes and stop)

Any suggestions about more info to show, or changes to make are welcomed. Feel free to comment.

Instructions: Just copy\paste and run.

—————————————

var desk=LL.getEvent().getContainer();

var px = desk.getPositionX();

var py = desk.getPositionY();

var ps = desk.getPositionScale();

var items=desk.getItems();

for(var i=items.getLength()-1;i>=0;–i){

    var item = items.getAt(i);

    

    var data = [];

    data[0] = item.getProperties().getInteger(“i.alpha”);

    data[1] = item.getProperties().getString(“i.pinMode”);

    data[2] = desk.getItemZIndex( item.getId() );

    

    desk.setItemZIndex(item.getId() ,  100000);

    item.getProperties().edit().

             setInteger( “i.alpha” , 255).

             setString(“i.pinMode”,”NONE”).

             commit();

    var zoom = Math.min( desk.getWidth() / item.getScaleX() / item.getWidth(), desk.getHeight() / item.getScaleY() / item.getHeight());

    

    desk.setPosition( item.getPositionX() , item.getPositionY() , zoom,true );

    var type = item.getType();

    var info = “Item found:”;

    info+=”\n-Type: “+ type;

        if(type==”Shortcut” || type==”Folder”) info+=”\n-Label: “+item.getLabel();

    info+=”\n-Id: “+item.getId();

    info+=”\n-Pin Mode: “+data[1];

    info+=”\n-Alpha: “+data[0];

    info+=”\n-Tag: “+item.getTag();

    info+=”\n-Visibility: “+item.isVisible();

    info+=”\n-Z Index: “+data[2];

    alert(info);

    

    var n = 3;//zoom out

    desk.setPosition( item.getPositionX()-desk.getWidth()/zoom*(n-1)/2,item.getPositionY()-desk.getHeight()/zoom*(n-1)/2,zoom/n,true );

    

    if(  !confirm(“Continue? (If not, Zindex,alpha and PinMode won’t get back)”)  )return;

     desk.setItemZIndex(item.getId() , data[2]);

     item.getProperties().edit().

              setInteger( “i.alpha” , data[0]).

               setString(“i.pinMode”, data[1]).

     commit();

    

}

desk.setPosition(px,py,ps,true);

Android.makeNewToast(“no more items found”,false).show();

]]>

I have a question (i already got the answer some months ago but  forgot it and i can’t find it.

I have a question (i already got the answer some months ago but  forgot it and i can’t find it. sorry for asking again.

On my desktop, i have many objets (widgets, folders, panels …) and several of them are unvisible (transparent) and some zooper widgets are configures to do an action when i click on them (and thus i cannot go directly to their configuration).

How can i find the list of all widgets / objets of my desktop ? Thanks in advance

]]>

Why do I get a NullPointerException in this script? It is launched by desktop load event. The IDs are correct.

Why do I get a NullPointerException in this script? It is launched by desktop load event. The IDs are correct.

var d = LL.getHomeDesktop();

d.getItemById(116).setVisibility(false);

d.getItemById(117).setVisibility(false);

d.getItemById(118).setVisibility(false);

]]>

Is there a way to copy items from one desktop to another?

Is there a way to copy items from one desktop to another? Even better, duplicate a desktop instead of creating a new one?

]]>

v9.9.11 beta

v9.9.11 beta

A bug fixes only, for the following  issues:

– some fixes related to the app drawer (need a reset to resolve mixed icons issue). But I am not 100% sure that all problems have been solved (partly device dependent).

– fix script LL.getCurrentDesktop() (solves the bug with the pin code lock screen)

– fix script Folder.close()

– fix script Item.setSize()

Available soon, but I don’t know when exactly because it seems that Google servers are experiencing issues right now

Edit: definitely, some servers are down at the moment

]]>

#dock

#dock

+Danbar Danbar, if you put your dock items inside a panel that does not rotate, with the dock line at top, and enable rotation for items within panel, it might work for you. Pin the panel, and enable scrolling for panel, if needed. Here’s a quick example:

]]>

In desktop settings/layout

In desktop settings/layout

If user have set different grid for portrait and different for landscape layout from past… and now go to this settings (layout). Is it posible preset choise how user hold the phone?

For example i hold now phone in landscape layout and go to layout settings. LL show me in option Settings below apply to: automatically in landcape (not portrait). It will be very userfriendly…

]]>

On screen and panel and folder is in menu this text: edit layout.

On screen and panel and folder is in menu this text: edit layout.

Is it posible rename this text to 3 different variants? for example edit screen layout, edit folder layout, edit panel layout.

Sometime i doing long tap and i need change something on screen, but i am on panel… and changing different layout 🙁

]]>

Can a some programmer to make script for: 1) an infinite scrolling panel?

Can a some programmer to make script for: 1) an infinite scrolling panel? 2) an infinite scrolling screen in one desktop?

for example if i have panel with 3 screen (two are not visible on first screen). I go more (swipe) right, i am now on second screen, and go more right, now in third screen, and if i go to right now (i am on end) i need to go first screen.

Thanks (i need infinity dock bar by panel).

]]>