Re: "idle" has different effect in X vs 9?
Re: "idle" has different effect in X vs 9?
- Subject: Re: "idle" has different effect in X vs 9?
- From: Stephen Swift <email@hidden>
- Date: Sun, 18 May 2003 12:38:17 -0400
At 5/8/03 8:11 PM, Christopher Nebel (email@hidden) Wrote:
>
'do shell script "sleep"' just calls
>
sleep(3), which is almost perfectly efficient -- zero CPU usage.
So would using sleep be preferable to using delay? Delay would be
compatible in both 9 and X, but if sleep uses less CPU, it would give better
performance to other apps (which is most likely why you need a pause in the
first script--to wait for an app). Or is there really no clear advantage of
using sleep over delay.
Stephen Swift
_______________________________________________
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.