Posted 12 July 2015 - 01:48 AM
It would be awesome if I could take a picture of a computer screen. Without having to write the code myself. I'm occupied with something else right now.
Unfortunately, I may have to, searching for 'screenshot' on the forums brought up this:
http://www.computercraft.info/forums2/index.php?/topic/6450-screenshot-api/
It uses 'term.native', which doesn't work anymore, but changing it to 'term.current()' makes it function correctly!
But for some strange reason, the author had it save files in 'rtf format', or Rich Text Format.
I haven't the faintest clue as to why, a screenshot looks like this:
So does anyone have a screenshot API / Program that saves in a format that can actually be displayed?
Unfortunately, I may have to, searching for 'screenshot' on the forums brought up this:
http://www.computercraft.info/forums2/index.php?/topic/6450-screenshot-api/
It uses 'term.native', which doesn't work anymore, but changing it to 'term.current()' makes it function correctly!
But for some strange reason, the author had it save files in 'rtf format', or Rich Text Format.
I haven't the faintest clue as to why, a screenshot looks like this:
Spoiler
{\rtf1{\fonttbl{\f0\fnil\fcharset0 Courier New;}}{\colortbl;\red240\green240\blue240;\red235\green136\blue68;\red195\green84\blue205;\red102\green137\blue211;\red222\green222\blue108;\red65\green205\blue52;\red216\green129\blue152;\red67\green67\blue67;\red153\green153\blue153;\red40\green118\blue151;\red123\green47\blue190;\red37\green49\blue146;\red81\green48\blue26;\red59\green81\blue26;\red179\green49\blue44;\red30\green27\blue27;\red0\green0\blue0;}\sa0\cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \highlight0\par\cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17 \cf1\highlight17
The whole file is much longer than this. And 1 line.So does anyone have a screenshot API / Program that saves in a format that can actually be displayed?