home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 6 / Sonderheft_6-96.iso / system / s / setup < prev    next >
Text File  |  1977-12-31  |  2KB  |  44 lines

  1. failat 9999999
  2. changetaskpri 0
  3.  
  4. rx "exit show('p','JAMMAIL')"
  5. if ${RC} eq 1
  6.   echo "Killing Current Running JamMail!"
  7.   rx >nil: "Address 'JAMMAIL' 'Abort'"
  8. endif
  9. rx "exit show('p','JAMMAIL1')"
  10. if ${RC} eq 1
  11.   echo "Killing Current Running Line 1!"
  12.   rx >nil: "Address 'JAMMAIL1' 'Abort'"
  13. endif
  14. rx "exit show('p','JAMMAIL2')"
  15. if ${RC} eq 1
  16.   echo "Killing Current Running Line 2!"
  17.   rx >nil: "Address 'JAMMAIL2' 'Abort'"
  18. endif
  19. rx "exit show('p','LOGPROC')"
  20. if ${RC} eq 0
  21.   run <NIL: >nil: logproc
  22.   wait 2
  23.   echo "Waiting for LogProc"
  24.   waitforport LOGPROC
  25.   rx "Address 'LOGPROC' 'OpenScreen JamLogs2 724 566 2 32772 0 0'"
  26.   rx "Address 'LOGPROC' 'OpenLog jammailfile f Logs:JamMail.log'"
  27.   rx "Address 'LOGPROC' 'OpenLog jammailwind w RAW:0/26/724/242/JamMail Log Window/inactive/SIMPLE/SCREENJamLogs2'"
  28.   rx "Address 'LOGPROC' 'AddLogGroup JamMailLogs jammailwind jammailfile'"
  29.  
  30.   rx "Address 'LOGPROC' 'OpenLog jm-phonefile f logs:phone.log'"
  31.   rx "Address 'LOGPROC' 'OpenLog jm-phonewindow w RAW:0/475/724/90/JamMail LongDistance Calls/inactive/SIMPLE/SCREENJamLogs2'"
  32.   rx "Address 'LOGPROC' 'AddLogGroup JamMailPhone jm-phonefile jm-phonewindow'"
  33. else
  34.   Echo "Logging system already active"
  35. endif
  36. if NOT EXISTS logs:phone.log
  37.   echo  >logs:phone.log "   Date     Time   Duration     Number    Type      Address        Location"
  38.   echo >>logs:phone.log "--------- -------- -------- -------------- ---- ------------------- ---------"
  39. endif
  40. echo "Launching JAMMAIL"
  41.  
  42. newshell window=RAW:0/271/280/201/Setup/inactive/SIMPLE/SCREENJamLogs2 from s:setup.cli
  43.  
  44.