TrianguloY
now browsing by tag
Perhaps I’m doing something wrong but:
Why setBoxBackground() is not persistent?
If you have an item with a normal background set to ImageA from the customize/more lightning UI, and then you run item.setBoxBackground(ImageB,”n”);LL.save(); the image is changed, but if you restart the launcher it goes back to ImageA.
Is this a bug?
]]>Backup scripts
This script is a modification of Lukas Morawietz’s save script in his multi tool script.
But this one is made with the purpose of having a backup of all your scripts. It saves all your current scripts in a custom folder (in Lightning folder by default) deleting the previous backup (all the items in that folder take care). It asks for confirmation, but you can change that in case you want to do it programmatically (in the resumed event, from tasker…)
If you want a ‘export’ scripts feature, check Lukas’s script.
The settings are: the directory, to ask or not for confirmation, and to write extra data in the file to use with Lukas’s import script.
]]>I think this was suggested in the past, and I guess it is on the todo list. But maybe no, so:
Suggestion: change the desktop wallpaper from script.
Also get the current one (if any)
]]>Desktop bookmark modifier tool script
Desktop bookmark modifier tool script
This script allows you to modify desktop bookmarks and ‘go to specified desktop&position’ shortcuts, or even make new ones in an easier way.
If you use the launcher’s ability to create them, you need to be in the desired position while creating it, and if you want to modify a created one with the app/select shortcut, you need to move it first so you can select it.
This script allows you to set the data of the shortcut to a previously saved one. It modify the launcher ‘go to container and position’ shortcut ( Pierre Hébert, you have a curious way of saving the position ;P ), you don’t need this script after setting it, this is just a tool.
(If you want to set multiple shortcuts in one, check my multi-container bookmark)
Instructions:
Get the position:
Once the container is where you want, run the script (by default: long click the background, script, select)
If the container is not the desktop, it will ask. Cancel to select the desktop instead.
Apply the position
Run the script from the desired item (by default: long click the item, script, select)
If the item is not a desktop bookmark shortcut it will ask for confirmation. You can accept to convert it.
Confirm and the shortcut data will be override with the previously saved one.
]]>Strange bug I have regarding LL.unlock() and touch event.
I have a lock screen on my tablet with a full screen item as background
That item have a script in the touch event
That script unlocks when you swipe in any direction more than a specific length (it draws also a circle, a bit ugly but functional)
The problem is that it works fine at the beginning (after closing the launcher with force kill/update…)
But then after some unlocks it doesn’t work (defined later).
I tested that it happened sometimes after launching an app from the status bar, or even from the lock screen (I have some app shortcuts)
I finally found steps to reproduce this problem.
The script have simply a LL.unlock() in the MotionEvent.Action_Up case (and some checks). I also tried launching an item with the ‘unlock’ shortcut, but it’s the same. I added a toast to know if the command is executed.
After force closing the launcher and reopening again, it works, it unlocks and says ‘unlocked’ (the toast)
But, if I press the home button while in the lock screen, after some flashing of the default lock screen, it no longer works. It says the ‘unlocking’ toast, but it doesn’t unlock.
Important: I have the tablet lock screen set to swipe. While writing this post I tried setting it to none, and the bug is fixed. However now the recent app button is shown in the LL lock screen.
I posted this because it is a bug, and maybe it helps to find something more (and because I spend time writing the report, and didn’t want to threw it 😛 )
Edit: it happens also with none as default lock screen, but the ‘press home button’ not always force the bug 🙁
Samsung galaxy tab 2, android 4.4.2. Can provide backup/script if necessary.
]]>I’m sorry Pierre Hébert, but the bug with the bars is still in the latest beta.
I’m sorry Pierre Hébert, but the bug with the bars is still in the latest beta.
Nexus 4, lollipop 5.0.1
The video shows the bug with full steps
]]>Notifications [demo]
I discovered time ago how to make notifications, and I’ve been searching for a good way to use them…but I failed. A launcher is not something that normally need notifications.
So, as you all have good ideas, I made a demo of how to make a notification, a simple script with almost every line commented, and ready to edit if you want to test. (I’ll continue thinking myself too)
Be creative 🙂
]]>I just noticed something: why in folders there are no ‘pages’ like in desktops and panels?
I mean: in edit mode the only lines are the grid ones, not those with the size of the container.
Also with the seamless mode you can’t have a space at the right, it is like if the ‘fit desktop to screen’ were always checked (when it is not) and with the ‘snap to pages option active’
If you still don’t understand:
In a desktop with a grid of 5×5 place an item in the first cell (0,0,1,1) and another one in the top left of the second page (5,0,6,1). Activate the seamless mode and the snap to pages, deactivate the fit desktop to items.
If you scroll horizontally, each time you can see only one item at the top left corner. Ok.
If you do the same in a folder, when you scroll the first time to the right, both items are displayed one right near the other.
]]>Community changes:
1) I sorted the categories so the most used ones are first. What do you think?
2) I don’t know how long the description of the community supports links, and I don’t really know why we decided to leave the links in a pinned post. I posted the links there (except the LL ones) because I think the ‘pinned post feature’ is better for important current news like active betas, contests, etc.
Both changes are easy to undone or modify. Open to discussion.
If you like them we can modify also the Users community.
]]>
D5 Creation