This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Stormkrow's profile picture

[Question]Changing from startup to a different program

Started by Stormkrow, 31 May 2012 - 01:30 PM
Stormkrow #1
Posted 31 May 2012 - 03:30 PM
So if i edited startup and wanted it so that once the startup was completed it would load a diff page/program.
How would i do that? Would shell.run() work? And if so how?
ardera #2
Posted 31 May 2012 - 04:44 PM
yes shell.run would work.the usage is shell.run("programname")
Macapple #3
Posted 03 June 2012 - 08:35 AM
You should code it up like this (i'm not good at coding)

print("your text") --Alerts that startup is running
sleep(time) --sleeps for a X time
shell.run("PROGRAMNAME") --Runs the program you choiced

Tell me if it works :)/>/>