NSTask example

Hi folks!

I am trying to build an application that sends out hunndreds of emails thru PostFix. (I am no Spammer!)

I need to open a window, where I will call this line:

do shell script “tail -f /var/log/mail.log”

This way I will see the sending out of emails thru PostFix.

I know I could just tell the Console application to open the file thru a line of AppleScript. But I want the result to be visible within my own GUI.

I have been reading Apple’s Developers site and judge myself not ready yet for NSTask.

Similiar to Jonn8’s titlelesswindow example, (Thanks Jonn8!), I am looking for an example I could easily incorporate a NSTask file in my AppleScript Studio app.

Can anyone point me to a downloadable file?

Thanks for replying.

Bernardo Höhl
Rio de Janeiro