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
1054 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. :)/>
23 posts
Posted 14 January 2013 - 06:24 AM
Yes it's for change the text scale on my monitor
1054 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!')
23 posts
Posted 14 January 2013 - 06:36 AM
thanks and just an another thing, can it possible to copy/paste in the computers?
1054 posts
Posted 14 January 2013 - 07:03 AM
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. :)/>
2088 posts
Location
South 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 :)/>
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 ?
7508 posts
Location
Australia
Posted 14 January 2013 - 01:13 PM
pastebin is a website
http://pastebin.comto 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>