Page 1 of 1

can someone anyone for the love of god help me get my script to auto run on pc start up

Posted: 13 Mar 2019, 16:09
by Th3_g_is_sil3nt
i don't understand what a -r parameter is or an -r switch. i seriously have no idea how to do this i don't want to press the blue play button every time i login please please send a sample code ive been at this for a week with no luck

Re: can someone anyone for the love of god help me get my script to auto run on pc start up

Posted: 02 Oct 2021, 22:48
by BradyBrother100
Bumping this

Re: can someone anyone for the love of god help me get my script to auto run on pc start up

Posted: 30 Nov 2021, 01:10
by yxz11
Make your script, save it under c:\prog\luamacros\mine.lua

open windows explorer, point it to: c:\prog\luamacros\

open another windows explorer, point it to c:\Users\YOURUSER\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\LuaMacros.lnk

right click c:\prog\luamacros\mine.lua, drag it to the other windows explorer, release and choose create shortcut.

This should work.