getting feedback from shell script.

I have an AS studio project that uses the command line version of 7zip (7za) to compress files.

When the 7za program is run from the terminal it outputs progress to the terminal as it compresses a folder
for example it would look something like this.

[code]7za compressing fileTest.7z with maximum compression

adding file testfile1.pdf 5% … 10% … 25% … 50% … 75% … 100%
adding file testfile2.pdf 5% … 10% … 25% … 50% … 75% … 100%
adding file testfile3.pdf 5% … 10% … 25% … 50% … 75% … 100%

and so on.[/code]
the % complete shows up as the file is being compressed.
Is there anyway to get that terminal dialog to show up in the UI in real time?
I’ve seen explanations that will display a terminal output, but only after the script has run

Thanks,
Pendal

No, not with an applescript studio program. You would need objective-c and cocoa to accomplish this.