• 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: Disabling mouse while script runs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling mouse while script runs


  • Subject: Re: Disabling mouse while script runs
  • From: Jon Pugh <email@hidden>
  • Date: Mon, 13 Aug 2001 16:57:17 -0700

At 8:11 AM +1000 8/13/2001, Doug Watkins wrote:
>I have a script to log off students from a server. The script quits all apps, closes open windows, empies the trash and unmounts mounted volumes. A problem arises (including in some cases the alias for the script disappearing from the desktop!) if a user clicks repeatedly on the alias for the script.
>
>Is there a way to disable the mouse button once the script starts running and then enabling it again at the end of the script?

While not exactly what you are looking for (Olivier's comments should also be heeded) I must point out that Jon's Commands includes a "set cursor to" command which allows you to display a busy cursor, which can help stop people from clicking wildly while your script runs.

Jon


References: 
 >Disabling mouse while script runs (From: Doug Watkins <email@hidden>)

  • Prev by Date: Re: Runs in Script Editor, not as droplet
  • Next by Date: Re: Disabling mouse while script runs
  • Previous by thread: Re: Disabling mouse while script runs
  • Next by thread: ASHelper
  • Index(es):
    • Date
    • Thread