Monitoring the activity of a text file via AS
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.