On 1/31/06 10:59 AM, "Mark Lively" <email@hidden> wrote:
> NSTimers are used to trigger events to happen in the future.
>
> You have a few options to replace the missing delay.
Thanks, Mark.
>
> 1) recode the entire thing to use the idle loop where you want to
> delay. This gets REALLY ugly REALLY fast if you have a lot of delays.
>
This is what I think I have to try. Explanation follows, but can you direct
me to an example of that implementation?
> 2) Tell some other application who can see the standard additions to
> delay. (tell application "Finder" to delay 5)
In 10.4.4, I still see error -1762 the first time that command is called. Am
I doing something wrong?
>
> 3) Roll your own
>
> on MarksDelay(n)
> set laterTime to (current date)+n
> repeat
> if (current date) > laterTime then exit repeat
> end
> end
This one slows my machine down and makes the process I'm monitoring take
much longer to finish.
Thanks again.
--
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