I can assign “launch a shortcut” or “open a folder” to a gesture on a desktop.

I can assign “launch a shortcut” or “open a folder” to a gesture on a desktop. But can i also use a gesture (like “swipe left”) to open a specific item on the desktop?

I know there’s a script for that also, but this always gives me the following error:

At line 95: type error: cannot call “GetTag” method of null (gesture launcher#95)

Also i would prefer to set this specific action as a global setting for the whole desktop, so i guess the above script might not meet my needs…

]]>
(Next Post) »

8 Commentsto I can assign “launch a shortcut” or “open a folder” to a gesture on a desktop.

  1. Anonymous says:

    < ![CDATA[

    Do you mean swiping left on an empty area of the desktop? Yes. You can set it globally to work on all desktops or just a single desktop. it’s under “events & actions”.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    But where? I couldn’t find it…


    When I go “lightning launcher – current desktop – gestures – events & actions – swipe left” there is no such option as launch item….

    ]]>

  3. Anonymous says:

    < ![CDATA[

    “lightning launcher – current desktop – events & actions – swipe left” i meant

    ]]>

  4. Anonymous says:

    < ![CDATA[

    It’ll be “launch app” or “launch shortcut”


    No script required.


    Make sure you scroll down. They are above where the list opens.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Yes, I know that. But that’s not the option i am looking for. You see, when I choose launch shortcut LL creates a NEW shortcut, which never exists on any desktop (so there is no icon visible).


    But I am looking for an option that lets me launch an EXISTING shortcut, app or item which is on my desktop.

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Ok, well app or folder is no problem.


    To open a shortcut that it’s on your desktop already, customize that item. You can make it invisible and any size if it’s hard to pick up the swipe

    ]]>

  7. Anonymous says:

    < ![CDATA[

    Technically when you choose to launch a shortcut as an action it doesn’t create any invisible shortcut, it only keeps the intent.


    When you add a shortcut to the desktop, an item is added with the intent as data.


    In both cases it is an intent that is saved, either in a gesture or in an item.



    I guess that you want to change the shortcut manually or dynamically, a script is necessary for this but to identify the item it need to know something, (label, id, name…)


    You can just simply use, depending on how you want to change it:



    LL.getItemById(1234).launch()



    LL.getEvent().getContainer().getItemByName(“name”).launch();



    LL.getEvent().getContainer().getItemByLabel(“label”).launch();

    ]]>

  8. Anonymous says:

    < ![CDATA[

    That’s it. Thanks again trianguloy!

    ]]>

Leave a Reply

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