Re: Disabling mouse while script runs
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