now browsing by category

 

Hey.

Hey.

I want to change top padding in a panel but with no success. The last thing I’ve tried:

var prop = LL.getCurrentDesktop().getItemByLabel(‘Dock’).getProperties().

    edit().getBox(“i.box”).

    setSize(“pt”, 20).

    commit();

Don’t know if it really matters but the panel/dock is unpinned.

Thanx in advance.

]]>

Why is there no option for selection nimation on my phone but there so on my tablet?

Why is there no option for selection nimation on my phone but there so on my tablet?

]]>

I’ve used LLwith android all in one.

I’ve used LLwith android all in one.

If i want to make a click sound with clicking icon, how i have to do on LL….

]]>

Hi.

Hi.

I have a few questions:

1.- I have an issue with LL+KLWP. When I am in the first LL desktop the shortcuts from my KLWP wallpaper do work but not in any other desktop, even if I set them as the home. Only the first original desktop from the five I have (three of them are empty) works, even if it isn’t currently the first in the list from Settings->Lightning->Configure Desktop.

2.- Is there any way to get the number of page in a desktop?. I use global gestures for using with KLWP and I’d like to work differently depending on the page I am, so I need for that the page number.

3.- Also, not a problem but is the main reason I want to use LL, and being a beginner I don’t know how to start. I want to have a scrollable dock with different icon bitmaps depending on a Tasker context, similar of what I’ve already done (non scrollable) for the desktop with KLWP. This would need to be able to change an icon bitmap (12 icons actually) depending on a Tasker variable which links to a image file in the sd. As far as I know I don’t see how to do it, because in Bindings->Property there is nothing to change the icon itself.

Is Javascript neccessary? and if so, could you tell me how to do it?, maybe not the entire code but some key bits, like the object or method to get/set the bitmap. I have a bit of experience with JS in Tasker but I’m a noob in general.

The nearest example I’ve seen in the wiki is:

var i = LL.getCurrentDesktop().getItemByLabel(“some item”).getDefaultIcon();

LL.getEvent().getItem().setDefaultIcon(i);

I’d execute the script from Tasker (for better managing which images are loaded) 12 times, one for each icon in the dock or maybe only once with a loop within the script. The final result I think should be something like this:

var new_image = XXXXXXXX.getImage(““);

LL.getCurrentDesktop().getItemByLabel(“dock_01”).setDefaultIcon(new_image);

Thx in advance.

]]>

I have a second and final scripting question for today.

I have a second and final scripting question for today.

I’m trying to write a script that does one thing if LL is the default launcher, but another if Nova is the default.

I am now able to detect which launcher is the default, so I just need to call Nova with the correct parameters.

I currently have this:

intent = new Intent(‘com.teslacoilsw.launcher.ACTION’);

intent.setClassName(‘com.teslacoilsw.launcher’,

‘com.teslacoilsw.launcher.NovaShortcutHandler’);

intent.setComponent(new ComponentName(‘com.teslacoilsw.launcher’,

‘com.teslacoilsw.launcher.NovaShortcutHandler’));

intent.putExtra(‘LAUNCHER_ACTION’, ‘GOTO_SCREEN’);

intent.putExtra(‘PAGE_NUMBER’, 3);

LL.startActivity(intent);

This produces no error, but also doesn’t work. 🙁

The various Nova parameters are known to be correct. They work if I use Tasker to send them as an intent like this:

Action: com.teslacoilsw.launcher.ACTION

Extra: LAUNCHER_ACTION:GOTO_SCREEN

Extra: PAGE_NUMBER:3

Package: com.teslacoilsw.launcher

Class: com.teslacoilsw.launcher.NovaShortcutHandler

Target: Activity

Evidently, I’m not translating this correctly to the proper JavaScript methods.

Can anyone tell me how to map the Tasker Send Intent fields to their equivalent Javascript methods?

]]>

Is there any way to detect whether LL is the currently active launcher; or, failing that, the currently configured…

Is there any way to detect whether LL is the currently active launcher; or, failing that, the currently configured default launcher?

I’ve googled the subject to death and scoured the API docs, but to no avail. I thought I had found the solution when I chanced upon LL.isPaused(), but no matter where I call that method, it always returns true.

]]>

I have a Tasker job that calls an LL script.

I have a Tasker job that calls an LL script.

The problem is that I’m not sure how to pass the result of the script back to Tasker. Simple success or failure is all that I need.

I’ve looked at calling a Tasker intent from LL to set a variable, but it’s not clear that this would run within the context of the task that called LL in the first place.

What’s the best way to send a variable from an LL script to the Tasker job that called it?

]]>

Hi guys, I’m sure this is really easy but I can’t work out how…

Hi guys, I’m sure this is really easy but I can’t work out how…

I have a shortcut which moves the desktop to a certain position (works fine) but I also want the same action to close all folders.

I’ve tried assigning ‘close all folders’ to the tap action of the shortcut and that works to close the folders but the shortcut then doesn’t work.

Is there any way to assign a second action to a shortcut?

]]>

I’m kinda stuck.

I’m kinda stuck. I have a badge for missed calls and it won’t go back down to zero. Drupe is my default phone app and dialer and it opens when i click the badge but the missed call count never resets. How do i fix it?

]]>

Anyone know how to put a shortcut to a bookmark on my homepage (that will launch with my browser – Maxthon)?

Anyone know how to put a shortcut to a bookmark on my homepage (that will launch with my browser – Maxthon)?

]]>