• 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
Monitoring the activity of a text file via AS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Monitoring the activity of a text file via AS


  • Subject: Monitoring the activity of a text file via AS
  • From: Richard Covert <email@hidden>
  • Date: Sun, 30 May 2004 22:22:02 -0500

I have a 'do shell script' which starts a UNIX program that reports progress via stdout/stderr.
I can redirect stdout/stderr to a text file at any folder that I wish.

If I redirect the progress file to a Mac OS X folder then I can read the file via my AS script. My question is
how do I read the tail of the file via AS?

I would like to echo the file to my text view object as the file is being written to by my UNIX
program.

UNIX allows you to monitor the end of a file by doing a 'tail -f <file>'.
_______________________________________________
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.


  • Prev by Date: Re: echoing multi-lines output from "do shell script"
  • Next by Date: Need help in gui scripting
  • Previous by thread: Re: echoing multi-lines output from "do shell script"
  • Next by thread: Need help in gui scripting
  • Index(es):
    • Date
    • Thread