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

monitors

Started by mrgold1016, 02 April 2012 - 08:58 PM
mrgold1016 #1
Posted 02 April 2012 - 10:58 PM
im try to make it when a computer starts up it displays a program on a monitor plese help
Advert #2
Posted 02 April 2012 - 11:21 PM
Use shell.run, in conjunction with monitor.

help shellapi
help monitor

And save your script as startup, so it will start when the computer opens.
MysticT #3
Posted 02 April 2012 - 11:26 PM
You should need to create a startup program, and make it show what you want on the monitor. If you need to run a program you already have, you could use shell.run() on the startup file. Check out that function and the monitor program, that should point you in the right way :D/>/>

Edit: damn, too slow again :)/>/>
EmTeaKay #4
Posted 03 April 2012 - 12:12 AM
Too slow again :)/>/>

We still like you.
Hidden Monarch #5
Posted 03 April 2012 - 10:18 PM
im try to make it when a computer starts up it displays a program on a monitor plese help
If you want to display the startup, you can simply go with monitor left startup or monitor right startup. Otherwise, do what everyone else said.
cant_delete_account #6
Posted 29 April 2012 - 11:14 PM

local side = "right" -- CHANGE THIS TO THE SIDE OF THE COMPUTER THE MONITOR IS ON
local mon = peripheral.wrap(side) -- DO NOT CHANGE THIS
term.redirect(mon)
--PUT ALL OF THE CODE YOU WANT TO RUN ON THE MONITOR HERE
term.restore()
:)/>/>