Restart/Refresh Lightning

The right place to talk JavaScript
Post Reply
User avatar
Posts: 91
Joined: Tue Jan 29, 2019 11:57 pm

Restart/Refresh Lightning

Post by JayM » Thu Oct 03, 2019 11:02 pm

So i was mooching through the forum and came across this post viewtopic.php?t=100 i had to restart the launcher myself a few days ago and i did it using a shortcut, totally forgot it can be done with 1 line of code.

Anyways best way to do this IMO is open the script editor app create a new script and name it Restart Lightning (or whatever you want) make sure you check the box that says Lightning menu then type LL.runAction(28); for the script. Go back to your desktop long press the screen and go to scripts, thats pretty much it quick and easy way to restart the launcher without a shortcut cluttering your desktop :D

User avatar
Posts: 109
Joined: Thu Jan 24, 2019 9:46 am

Re: Restart/Refresh Lightning

Post by TrianguloY » Mon Oct 07, 2019 12:47 pm

Just for the sake of completeness, the updated and without magic numbers script (longer, but non-deprecated and easier to understand) is:

Code: Select all

Both do exactly the same thing.

Post Reply