Re: Cursor control II
Re: Cursor control II
- Subject: Re: Cursor control II
- From: Timothy Bates <email@hidden>
- Date: Sat, 02 Jun 2001 12:03:58 +1000
>
on 5/31/2001 1:31 PM, Robert Poland at email@hidden wrote:
>
> "Set Cursor" in Jon's Commands is almost useless
>
> because of the fact that AppleScript does parallel processing instead
>
> of serial. Is there a solution?
>
>
>
> Example:
>
> set cursor to busy cursor
>
> --process of random time/length
>
> set cursor to arrow cursor
>
>
>
> Change to busy cursor and back occurs immediately regardless of time
>
> it takes to process.
I guess you really need a system of semaphores or meetings.
but, why not just put the cursor control commands into the process handler
...
process()
...
to process()
set {cursorold,cursor} to {current cursor, busy cursor}
do stuff
set cursor to cursorold
end