Re: Creating a Progress Bar, is it possible?
Re: Creating a Progress Bar, is it possible?
- Subject: Re: Creating a Progress Bar, is it possible?
- From: Rob Morton <email@hidden>
- Date: Thu, 01 May 2003 13:41:05 -0400
on 5/1/03 10:41 AM, Courtney Moore at email@hidden wrote:
>
Thanks for the suggestions. I tried doing the second one and I am having
>
some problems, the tail command is not displaying it's content until after
>
the ASR has competed. I was really hopping for some sort of progress bar to
>
appear while the ASR was happening so the user knows it is working and not
>
to try using their computer.
>
>
Any other logicalish suggestions?!
It really should work. Are you sure you have the tell application
"Terminal"... line encompassed in ignoring applications responses? Also you
are calling it prior to the asr command, correct? Below is a complete
example using the ls command. I don't have a machine that I can really test
with asr at the moment, so I hope you can see what it should be doing. If
you send an email off the list, I can probably provide you with an
AppleScript Studio app that will do what you want.
Rob Morton
set WatchTasks to true
set CompleteLogFile to "/tmp/script.log"
--Do you want to watch the tasks output in a terminal window?
if WatchTasks then
do shell script ("touch " & CompleteLogFile)
ignoring application responses
tell application "Terminal" to do script ("tail -f " &
CompleteLogFile)
end ignoring
end if
do shell script "ls -R / >> " & CompleteLogFile
_______________________________________________
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.