Hi there all

Hi there all, 

anyone know if there is a way of launching an app via script without using an item?

in my case i’m specify trying to run the google search activity (like if you made a shortcut with “add Item” > “Shortcut” > “Lighting Action” > “search”) and then via script invoke it when i scroll past a y value. 

so far i can only get it to work by adding an item and then via script invoking the item with launch 

var searchItem = LL.getItemById(0x10002);

searchItem.launch();

while there’s nothing wrong with this i guess i was hoping to do it directly with out the need for the item at all as i don’t need to see it. 

thanks in advance!

]]>

10 Commentsto Hi there all

  1. Anonymous says:

    < ![CDATA[

    You trying to emulate the swipe for Google now

    ]]>

  2. Anonymous says:

    < ![CDATA[

    yeah 🙂

    ]]>

  3. Anonymous says:

    < ![CDATA[

    That would be really cool

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Perhaps I see it too simple, but can’t you just couple the launch of the app at a swipe gesture?

    ]]>

  5. Anonymous says:

    < ![CDATA[

    It will look more like the Google now launcher swipe if you fade in a white page while the app is launching, also sliding the dock outta the way… Look at epic an kk launcher the jus about nail it

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Bart Hoste I agree with you. Set a gesture to launch an app. Now the visuals that Corey Spell​ references, probably would require a script

    ]]>

  7. Anonymous says:

    < ![CDATA[

    You can use:


    LL.getContext().startActivity(intent);


    Where intent has been built earlier and describes the app you want to launch.

    ]]>

  8. Anonymous says:

    < ![CDATA[

    Pierre Hébert  Actually you implemented also LL.startActivity, I think this should be the preferred one.

    ]]>

  9. Anonymous says:

    < ![CDATA[

    OMG, I already forgot about it !

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Man you yall come up with a script for this and I’d be interested to try that one lol

    ]]>

Leave a Reply

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