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: Fred Deboard <email@hidden>
- Date: Thu, 1 May 2003 14:17:24 -0400
ASR doesn't provide much feedback while it is restoring. I use some command
line scripts to restore our systems. And after it mounts the image and
starts the actual copying there is no progress given. Thus I don't think
you can get an accurate progress bar. Maybe you could time it and give a
estimated time to completion? Or even use that to provide a pusudo progress
bar.
Fred.
-----Original Message-----
From: Rob Morton [
mailto:email@hidden]
Sent: Thursday, May 01, 2003 12:41 PM
To: Courtney Moore; AppleScript
Subject: Re: Creating a Progress Bar, is it possible?
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.
_______________________________________________
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.