Jump to content




How to use Text Scale


  • You cannot reply to this topic
8 replies to this topic

#1 Desslink

  • Members
  • 23 posts

Posted 14 January 2013 - 06:07 AM

All is in the title:
I want to use
term.setTextScale(2)
I enter this line in an empty program and it returns me:
test:1: attempt to call nil
if you know how to fix it or use it, please leave a reply

#2 Orwell

    Self-Destructive

  • Members
  • 1,091 posts

Posted 14 January 2013 - 06:13 AM

The function setTextScale can only be used on monitors, not on the built in terminal. Sorry..
If you'd like an example for monitors, ask away. :)

#3 Desslink

  • Members
  • 23 posts

Posted 14 January 2013 - 06:24 AM

Yes it's for change the text scale on my monitor

#4 Orwell

    Self-Destructive

  • Members
  • 1,091 posts

Posted 14 January 2013 - 06:26 AM

Then you'd do it like this:
local monitor = peripheral.wrap('left') -- change left to the side your monitor is on
monitor.setTextScale(2)
monitor.clear()
monitor.write('Test!')


#5 Desslink

  • Members
  • 23 posts

Posted 14 January 2013 - 06:36 AM

thanks and just an another thing, can it possible to copy/paste in the computers?

#6 Orwell

    Self-Destructive

  • Members
  • 1,091 posts

Posted 14 January 2013 - 07:03 AM

View PostDesslink, on 14 January 2013 - 06:36 AM, said:

thanks and just an another thing, can it possible to copy/paste in the computers?
Not really, (you can paste exactly one line AFAIK). Check out the pastebin program to download programs from the internet. :)

#7 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 14 January 2013 - 07:16 AM

Yeah, you can only copy paste one line at a time which is a pain.

Use pastebin if you can :)

#8 Desslink

  • Members
  • 23 posts

Posted 14 January 2013 - 01:10 PM

ok and how the copy/paste work (it isn't with Ctrl+C or V)
Pastebin is an another mod ?

#9 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 14 January 2013 - 01:13 PM

pastebin is a website http://pastebin.com
to download a script from pastebin the http api needs to be enabled, then you type this into the terminal (replacing values where appropriate)
pastebin get <pastebin url extension> <file path to save to>
for example:
pastebin get 9Fg3uYAd startup
would dowload the script at pastebin.com/9Fg3uYAd into the startup file
to put a script onto pastebin use
pastebin put <file path to dump to pastebin>






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users