• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cursor control II
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Cursor control II (From: JollyRoger <email@hidden>)

  • Prev by Date: Re: Record quirk - or bug?
  • Next by Date: Re: Trouble with variable persistance
  • Previous by thread: Re: Cursor control II
  • Next by thread: Re: Cursor control II
  • Index(es):
    • Date
    • Thread