Player
Documentation
AppleScript
User's Guide
Chapter 5, Verbs
One Verb Per Page
set: mouse delay
Syntax
set mouse delay to delayValue
Parameters
delayValue -- the delay within or between individual mouse actions
Result
true
Examples
set mouse delay to 5 -- a small delay usually suffices
set mouse delay to 0 -- maximum speed
set mouse delay to 20 -- for dragging on a slow machine
set mouse delay to default mouse delay -- reset (new in 1.1)
Notes
- By default, Player includes a small delay (2) to ensure that applications "notice" Player's mouse operations.
- If an application doesn't recognize Player's click or drag, setting a higher delay will usually fix the problem.
- Setting a mouse delay will not pause a script; see the yield time verb.
- This setting affects all verbs that use the mouse, including clicking on a named button and even an invisible click in the menubar used for the menu verbs. It remains in effect until changed or until a reboot.
- There is no way to alter the default (other than to execute this verb on startup).
- The delay units are approximately "ticks" (60ths of a second), though the value is not intended to be exact.
See Also
click
drag
set typing delay
yield time
set typing delay
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.