Jump to content




[Question, Solved] How would i make everything i write show on monitor?


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

#1 Apfeldstrudel

  • Members
  • 161 posts

Posted 23 March 2013 - 08:21 AM

Hello :D
NOTE: SOLVED! :D


What i want to do is show EVERYTHING i write (when i write programs) on a monitor while at the same time seing it on the screen.
I tried to call it like
monitor left edit program
but that didn't show up on the normal window D: please help

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 23 March 2013 - 08:23 AM

Split into new topic.

Check out the Sync API topic in the APIs and Utilities subsection of the Programs section.

#3 Apfeldstrudel

  • Members
  • 161 posts

Posted 23 March 2013 - 08:54 AM

View PostLyqyd, on 23 March 2013 - 08:23 AM, said:

Split into new topic.

Check out the Sync API topic in the APIs and Utilities subsection of the Programs section.

I dont understand that, what does the target thing do.. D:

#4 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 23 March 2013 - 09:19 AM

You can use the addMonitor function to add the monitor.
Example:
os.loadAPI("sync")
sync.addMonitor("left") -- add the monitor on the left
sync.redirect(true) -- this makes the output to be on the monitor and the terminal
Put that in a program and run it. After that all the output should be seen on both the terminal and the monitor(s) you added.

#5 Apfeldstrudel

  • Members
  • 161 posts

Posted 24 March 2013 - 12:15 AM

Cool, thanks :D





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users