March, 2014
now browsing by month
questions 3.
I have been using LLX and have accumulated some questions with time. if you could answer any I would be most appreciative.
1. even tho I don’t have any items outside of my main screens boundary it still scrolls. what gives? (i know I can set to no school, but still)
2. some icon packs are not compatible with LLX, any work around?
3. (found this one)
thank you for reading.
]]>Having refresh problems with my click widget on LLX homescreen.
Having refresh problems with my click widget on LLX homescreen. The clock widget is stuck at 9:43PM. Same for another world clock widget which is added to a folder. Same for Messaging widget – new messages are not being shown in the messaging widget. I have “Keep Lightning Running” option selected in the General settings menu.
The problem is resolved when I remove and add the widgets again. But after sometime (not sure about the duration), all the widgets stop refreshing automatically…
Please help.
]]>FolderSetting.Box.Padding is not saved in style.
Always-there bar
This is a script that place an item (in the video a panel) always on top of the screen. Scroll down the desktop to show it. Scroll up to hide.
Pierre Hébert: you did it.
I’m not sure how, but with the synchronous scripts…all is beautiful 😀 Thanks!
Luckily I made a demonstration video with the 9.9.9 version. Another one with 9.9.10
I’m sure you will find the difference 😉 The change is awesome!
Instructions:
– Copy paste this script as a new one.
– IMPORTANT: you need to label “always-bar” the item you want to move
– Pin that item and detach it from the grid
– Set the script in the position change event of the desktop
Settings: you can change the velocity of scrolling. Just modify the numbers at the beggining of the script, nothing more
———————————
/*Settings */
//this number means the velocity of showing/hidding respectively
//1 is the default ( like the desktop ) the bigger, the faster (avoid negative numbers, between (0,1) will be slower )
var vs = 2;//show
var vh = 0.5;//hide
var cont = LL.getEvent().getContainer();
//item to move
var bar = cont.getItemByLabel(“always-bar”);
if(bar==null){alert(“Warning: no item with label ‘always-bar’ found.”);return;}
/* current position
// in case don’t exist
//difference
//save
*/
var contpos = cont.getPositionY();
var prev = parseInt(bar.getTag());
var d = contpos-prev;
bar.setTag(contpos);
var barpos = bar.getPositionY();
var size=bar.getScaleY() * bar.getHeight();
var posx=bar.getPositionX();
/*hide the bar */
if(d>0 && barpos>-size){
if(barpos-d*vh<-size || barpos<-size){
bar.setPosition(posx,-size);
}else{
bar.setPosition(posx,barpos-d*vh);
}
}
/*show the bar */
if(d<0 && barpos<0){
if(barpos-d*vs>0 || barpos>0){
bar.setPosition(posx,0);
}else{
bar.setPosition(posx,barpos-d*vs);
}
}
]]>I have desktop with panels covering near all space.
LL 9.9.9 r1606 bubble, all icons in app draw launching wrong apps.
Trying to enable icon text in app draw causes crash.
Updating to 9.9.10 has not fixed th issue but has allowed me to enable labels.
]]>v9.9.10 beta
This is an important update, whose goal is to fix 2 majors bugs and improve the script engine. The previous implementation has some caveats. I hope the new one will live up to expectations.
In details:
– reworked LLX script engine (!) For the following benefits: synchronous operations for smoother animations, support of “//” comments, display the line number in case of error, fixes the crash when repeated calls are made (upon scroll event in particular). Scripts should remain 100% compatible… but glitches are possible.
– add some initial (rough) autocompletion to the script editor
– add no scroll limit option
– fix template import
]]>