On 1/31/06 2:44 PM, "Terry Heaford" <email@hidden> wrote:
> I believe this will do the trick
>
> on pause (tDelay)
> set myDate to call method "date" of class "NSDate"
> set tOldSecs to call method "timeIntervalSinceNow" of myDate
> set tNewSecs to call method "timeIntervalSinceNow" of myDate
> repeat until (tOldSecs - tNewSecs) > tDelay
> set tNewSecs to call method "timeIntervalSinceNow" of myDate
> end repeat
> end pause
>
>
Thanks! I haven't tried it yet, but I will, because after reporting success
with letting Finder do the delaying, error -1762 once again appeared in my
app. I'm perplexed, because something else that I've done in the script or
in the IB seemingly unrelated to idling apparently has the power to affect
this error.
Laine Lee
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden
This email sent to email@hidden