LL.startActivity( Intent(Intent.ACTION_VIEW, Uri.parse(“market://details?id=” +…

LL.startActivity( Intent(Intent.ACTION_VIEW, Uri.parse(“market://details?id=” + LL.getEvent().getItem().getIntent().getComponent().getPackageName())));

A one-line script to open the play store in the page of the app where the script was launched.

(Note, this was to test the new ComponentName, if you run it from something that is not an app it could make an error, checking it is not difficult but it won’t be a one-line script 😛 )

]]>

3 Commentsto LL.startActivity( Intent(Intent.ACTION_VIEW, Uri.parse(“market://details?id=” +…

  1. Anonymous says:

    < ![CDATA[

    Well, if you want it to run every time you go to the container from wherever, set it in the resume event


    If you want a shortcut to go to the desktop and then run the script…just run the script (it will go automatically to the desktop if I remember correctly)

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Oh, so just add


    setTimeout(function(){LL.goToDesktop(insert id here);},1000);


    at the end.


    You will want to change the 1000 to another number (milliseconds) between the click and the change action

    ]]>

  3. Anonymous says:

    < ![CDATA[

    There is another script: ‘script maker tool’ that perhaps helps you making custom scripts, or even learn to script!

    ]]>

Leave a Reply

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