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

[Question] Monitor Text Size

Started by jerry242, 24 March 2012 - 01:20 PM
jerry242 #1
Posted 24 March 2012 - 02:20 PM
Is there a command you can use to alter the text size on monitors?
I think I read it somewhere, but I can't find it.

Any information appreciated :(/>/>
Kolpa #2
Posted 24 March 2012 - 02:24 PM
i saw it and i read it too but i dont know it anymore -.-
Espen #3
Posted 24 March 2012 - 02:31 PM
I can't remember myself anymore, but with this you can list all functions of a connected monitor (or any peripheral):

local methods = peripheral.getMethods()
for _, method in pairs(methods) do
  print(method)
end
And then I'm sure you'll be able to find it by looking for setSize or something similar.
kamnxt #4
Posted 24 March 2012 - 02:40 PM
There are 5 sizes.
To set them, use:

size = 4 --From 1 to 5
side = "right" --Your monitor
m = peripheral.wrap(side)
m.setTextScale(size) --Sets size
jerry242 #5
Posted 24 March 2012 - 02:42 PM
Thanks for the help! :(/>/>