April, 2014
now browsing by month
Hello, how i change the home desktop with script? thanks
Sorry if it’s a stupid question and I am missing something obvious.
I am trying to configure some sort of Dock to have a look similar to that or standard Android launcher (or most other Launchers too): a Dock moving to the right side when in landscape and with some sort of divider from the other icons.
I enabled the option to have different landscape and portrait positions but when I switch from portrait to landscape (having also different numbers of rows), the pinned items (in portrait) don’t show up anymore so I can’t move them to a new position to be used in landscape.
Also, is there any kind of options/widgets to have an indicator showing which page/desktop is active?
Thanks!
]]>Feature request for scripting: it would be great and helpful if events could programmatically be wired.
This would allow to in OnLoad of desktop to set up the event handling.
]]>Can someone reproduce this?
Can someone reproduce this?
You will need a tablet, a device which ‘normal’ position is in lansdcape.
Set the desktop rotation to system default. (And enable the rotation in the device)
Rotate the tablet into portrait.
Go to lightning settings, desktop settings, any setting (just enter the settings)
Then go back to the desktop.
Now, in my tablet the whole desktop gets rotated, as in landscape, but the device is in portrait so it gets cutted.
To fix just rotate the tablet to landscape again.
Strange, very strange…and I discover it now…….I always use my tablet in landscape :P
]]>OK, tried to start with scripting – but need help.
Fantastic editor. Those extra keys above the keyboard is a great functional extension.
Fantastic editor. Those extra keys above the keyboard is a great functional extension.
I think this is a bug, but I can be wrong.
If you set the tap action of the items in a container (the general settings of the container) it is applied for all items.
The problem? Panels are also items, and they don’t have visible this actions so you can’t modify it. The tap action is always executed.
(I guess it happens too with the other actions, but tap is the one I tested)
]]>Strange things happens with LL.runScript():
Steps:
Make two scripts, set a custom script tag for both (“scriptA” and “scriptB” respectively, this won’t change)
The script A is:
LL.runScript(“script B”,””);
alert(LL.getScriptTag());
alert(LL.getScriptTag());
The script B is:
var flag = true//false
if(flag)alert(“dummy alert”);
If flag=false
There is shown two alerts with title ‘script A’ and content ‘scriptA’. All ok.
If flag=true
There is shown two alerts, the first with title ‘script A’ and content ‘scriptA’ … but the second with title ‘script B’ and content ‘script B’!!!
The rest of the script is executed as if it were the script B, even thought it is the script A. And what happened with the dummy alert?
Can you reproduce this?
]]>
D5 Creation