• 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: Bryan <email@hidden>
  • Date: Sun, 12 Aug 2001 19:23:23 -0400
  • Organization: Apex Radiology

PreFab Player's Dictionary contains the command:

disable user input : disable mouse and/or keyboard input
... may have no effect on iMac
(or other models with USB keyboard & mouse)

disable user input
[from mouse/keyboard] -- which input to disable; defaults to both
(can explicitly specify both by concatenating with &)
[flashing icon boolean] -- set to false to disable the image that
flashes in the upper left corner ... WARNING: if mouse input
is disabled, users may think the computer is frozen
[command period to abort boolean] -- set to false to prevent
command-period from enabling user input and aborting the
script ... WARNING: if you don't allow command-period, it
may be quite difficult to abort a runaway script

it seems to me that KeyQuencer has some command which is similar,
but I haven't used KQ since going to Player and I can't recall it.

Bryan Kaufman

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?
>
> TIA
>
> Doug Watkins
> Bendigo
> Australia
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users


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

  • Prev by Date: Disabling mouse while script runs
  • Next by Date: Re: Quark-bold uppercase paragraphs
  • Previous by thread: Disabling mouse while script runs
  • Next by thread: Re: Disabling mouse while script runs
  • Index(es):
    • Date
    • Thread