• 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: 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


  • Follow-Ups:
    • Re: Disabling mouse while script runs
      • From: Mr Tea <email@hidden>
References: 
 >Disabling mouse while script runs (From: Doug Watkins <email@hidden>)

  • Prev by Date: Re: Where is my app?
  • Next by Date: Re: Where is my app?
  • Previous by thread: Re: Disabling mouse while script runs
  • Next by thread: Re: Disabling mouse while script runs
  • Index(es):
    • Date
    • Thread