Andromo - Start Making Apps - Free Signup

Announcement

Collapse
No announcement yet.

Writing to a log file

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Writing to a log file

    I need to write to a log file each time a video is played through (date|time|videoName). So when a video finishes playing, I need to write an entry to a log file, something like:

    03/10/2004|09:34:00|videoName

    I have searched through the threads, and only find information on installation logs. Any ideas as to how best accomplish this?

    Thanks,

    Kurt

  • #2
    Code:
    TextFile.WriteFromString("C:\\Test.log", System.GetDate(DATE_FMT_US).."|"..System.GetTime(TIME_FMT_AMPM).."|".."Video Name Here" .. "\r\n", true);

    Comment


    • #3
      Wow. Great stuff. Thanks!

      Comment


      • #4
        You're welcome

        Comment

        Working...
        X