Re: Timing a Long Event
Re: Timing a Long Event
- Subject: Re: Timing a Long Event
- From: 長野谷 隆昌 <email@hidden>
- Date: Wed, 21 Apr 2010 11:28:51 +0900
Async event via file system sample is here. This is a sample program for testing async event via file. This sample is not for calcurating the duration of long long task. But you can feel the potential of AEVF.
Launch "docOpen1" test program and click "START" button. Sub-programs return event via file system asynchronously.
Each 6 child programs count up from 1 to 1000 individually. It takes 55 seconds on my new MacBook Pro Core i7 2.66GHz model.
On 2010/04/19, at 23:57, Marconi wrote: I'm trying to time an hours-long event using AS.
I get the start time, perform the task, get the stop time, calculate the duration from start and stop times and post a dialog to say how long it took.
But this always times out. I tried using a timeout of 12 hours but I still get a timeout error.
The task is performed by a "do shell script" which offers no output until the task is done.
Is there some way to do this timing as I am, wrapping the task in AS to note start and stop times, without it timing out?
Free AppleScript Library "AS Hole"
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden