• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How Would You Display A Real-Time Event Log?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How Would You Display A Real-Time Event Log?


  • Subject: Re: How Would You Display A Real-Time Event Log?
  • From: Steve Mills <email@hidden>
  • Date: Sun, 16 Nov 2003 20:10:36 -0600

On Nov 16, 2003, at 2:18 AM, Richard Rvnnbdck wrote:

Is there any way to clear the console window before you display your
log/message?

Not that I know of. But if you use the other suggestion of writing to your own .log file, you could always delete all the text from it first. If your first message is written with a single > it will clear the file first. >> means append. So:

do shell script "echo 'first line' > my.log"
...
do shell script "echo 'another line' >> my.log"

Steve Mills
Drummer, Mac Geek
http://sjmills5.home.mchsi.com/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: How Would You Display A Real-Time Event Log? (From: Richard Rönnbäck <email@hidden>)

  • Prev by Date: Full Integer o real.
  • Next by Date: Address Book Extensibility
  • Previous by thread: Re: How Would You Display A Real-Time Event Log?
  • Next by thread: Re: How Would You Display A Real-Time Event Log?
  • Index(es):
    • Date
    • Thread