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!
]]>« I know todo list is very full (Today I had open todo list)… (Previous Post)
(Next Post) Hello, those days home »
< ![CDATA[
You trying to emulate the swipe for Google now
]]>
< ![CDATA[
yeah 🙂
]]>
< ![CDATA[
That would be really cool
]]>
< ![CDATA[
Perhaps I see it too simple, but can’t you just couple the launch of the app at a swipe gesture?
]]>
< ![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
]]>
< ![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
]]>
< ![CDATA[
You can use:
LL.getContext().startActivity(intent);
Where intent has been built earlier and describes the app you want to launch.
]]>
< ![CDATA[
Pierre Hébert Actually you implemented also LL.startActivity, I think this should be the preferred one.
]]>
< ![CDATA[
OMG, I already forgot about it !
]]>
< ![CDATA[
Man you yall come up with a script for this and I’d be interested to try that one lol
]]>