Suggestion: multi actions.

Suggestion: multi actions.

This suggestion can be a long to implement one, but I think it may be a powerful addition to LL. I think it was discussed before, but from comments and not as a whole post. If necessary I can make a flyspray about this (probably it is, but I prefer to ask).

Currently when you click on an event handler (tap, swipe, etc) it shows a list of lightning actions to choose (transforming this text-list into a icon-grid could be another suggestion, but for another post). When you choose an action it is set, and run when the event fire. Easy to understand.

This suggestion wants to change that, so that when you click on an event handler, a pop-up is shown instead where you can choose a list of actions, that will run sequentially. This list can be simple, with just an add button (that will show the current actions list to choose), the list of already added events, and edit/remove buttons on each one; or a more advanced window with different add buttons (for lightning actions, apps and shortcuts) a draggable list of added actions (to rearrange the order of execution) and edit/duplicate/remove buttons on each of them.

The idea is to allow multiple actions on each event, for example to:

– open an app and revert the position/zoom to 100%

– run a script and open an app

– run multiple shortcuts at once

– run multiple scripts without adding runScript

– run two apps (so when you close one, the other is shown instead of the desktop)

It will probably be necessary to change the EventHandler class, with a getList, addItem, etc. For compatibility maybe the getAction and getData can return those of the first in the list. This will need more thinking.

]]>

6 Commentsto Suggestion: multi actions.

  1. Anonymous says:

    < ![CDATA[

    THAT would awesome… If doable

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Just a thought: there are already 3 “structures” that could be piggy-backed upon to implement this list feature:


    + menus


    + folders (though what is the item order on a grid? maybe L-R then top-down)


    + scripts


    The “multiple actions”command would run every action on the menu/folder. Or simply, write a script and run it.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Just ANOTHER thought. You can sort of do the same (and more, although maybe harder) using Tasker.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Yes, that’s already possible and I think it was used as an answer on some questions already (that script is very simple in fact).


    This suggestion is to allow a more user friendly way to implement it, having it implemented on the launcher itself; specially for those not very confident with scripts.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    The only event I would have problems with being for only one action is what I requested – the init event. But I guess if such a solution is created anyways, it could be used everywhere.



    This would definetly help users with no scripting knowledge.

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Indeed this would probably make the life easier for a lot of people, as the question “how to execute multiple actions at once?” is frequently asked.


    Usually my answer is “use a script”, because having multiple actions for a single event could rapidly become more complex (I expect conditionals and logical features to be asked soon after a simple sequence is implemented). Script is the natural way to handle every case… from a software engineer point of view!


    But I know this isn’t the right answer. Also the current action selection dialog needs some refresh (the list is too long and with a weird order). I started to rework the implementation under the hood during the V14 beta. So maybe I’ll work on this, perhaps before the end of the year, but not sure.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *