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
Restart/Refresh Lightning
- TrianguloY
- Posts: 109
- Joined: Thu Jan 24, 2019 9:46 am
Re: Restart/Refresh Lightning
Yup.
Just for the sake of completeness, the updated and without magic numbers script (longer, but non-deprecated and easier to understand) is:
Both do exactly the same thing.
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
getEvent().getScreen().runAction(EventHandler.RESTART);