I'm trying to write a script that prints the coordinates of all pixels on the screen to a csv file. I tried using file = io.open("~/Desktop/test.csv") but file just returns nil, suggesting that the lua interpreter has been sandboxed. I'm dealing with a lot of numbers, so the tiny window with the result of an expression is insufficient. Is there a way to get these values without manually typing them all out?
Edited once by minecraft-physics. Last: 17th May 2016
I originally did check the reference (it was a typo, I used io.open()) and the pointer still returns nil. I've found a workaround using tpt.setclipboard() though, so it's not an issue.