Re: Disabling mouse while script runs
Re: Disabling mouse while script runs
- Subject: Re: Disabling mouse while script runs
- From: Olivier Destrebecq <email@hidden>
- Date: Mon, 13 Aug 2001 15:16:17 -0500
does your script does something like
select file whatever
delete selection
or
move selection to ...
because if so if the user click on a file inbetween the select and the
delete selection, the file selected by the user will be moved, just compress
the command into one:
delete file whatever
move file whatever
using selection in a script is not a good idea if you plan on using the
finder at the same time.
olivier
>
From: Doug Watkins <email@hidden>
>
Date: Mon, 13 Aug 2001 08:11:39 +1000
>
To: email@hidden
>
Subject: Disabling mouse while script runs
>
>
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?
>
>
TIA
>
>
Doug Watkins
>
Bendigo
>
Australia
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users