Posted 02 October 2014 - 11:14 AM
At the beginning some explanation.
PDA screen is 26 x 20 in size, and its similar to 3 x 3 monitor. But if i wanted to redirect content of the larger monitor to my PDA something will just disappear. To get around this i've created this program:
But how do i actually redirect content of the monitor to my PDA? The best way would be to create on the monitor window using window API that is equal in size, write some stuff on it, and then send whole window via rednet every time something on the main monitor updates. Rednet has send() and string has serialize(), but will it work as intended? And if something like that would be possible, wouldnt it be cpu-heavy?
Edit:
Is it possible to detect when player opens and closes computer/ PDA? With this i could send messages only when someone "listens".
And do you know any good Satellite api/program?
Edit 2:
Is it somehow possible to read whats written on the monitor?
Would it be better to send rarer (only while window updates) whole window content or more often (especially while dragging) only the data that can be written by the PDA?
PDA screen is 26 x 20 in size, and its similar to 3 x 3 monitor. But if i wanted to redirect content of the larger monitor to my PDA something will just disappear. To get around this i've created this program:
http://pastebin.com/ZZn2zSw6
Just run it, right click and drag and the "haha" will move. Your middle button will reset it to starting position.But how do i actually redirect content of the monitor to my PDA? The best way would be to create on the monitor window using window API that is equal in size, write some stuff on it, and then send whole window via rednet every time something on the main monitor updates. Rednet has send() and string has serialize(), but will it work as intended? And if something like that would be possible, wouldnt it be cpu-heavy?
Edit:
Is it possible to detect when player opens and closes computer/ PDA? With this i could send messages only when someone "listens".
And do you know any good Satellite api/program?
Edit 2:
Would it be better to send rarer (only while window updates) whole window content or more often (especially while dragging) only the data that can be written by the PDA?
Edited on 02 October 2014 - 12:24 PM