PreFab...Player...Documentation...Frontier...User's Guide...Chapter 5, Verbs...One Verb Per Page...

Player.disableUserInput -- new in 1.5


Syntax

Player.disableUserInput()

Player.disableUserInput(from: mouseOrKeyboard, flashingIcon: desiredState, commandPeriodToAbort: desiredState)


Parameters

from: mouseOrKeyboard mouseOnly or keyboardOnly; defaults to both

flashingIcon: desiredState 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

commandPeriodToAbort: desiredState -- 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


Action

Disable mouse and/or keyboard input.


Returns

True.


Examples

Player.disableUserInput()
Player.disableUserInput(Player.mouseOnly) « allow only keyboard input
Player.disableUserInput(Player.keyboardOnly) « allow only mouse input


Notes



See Also

Player.enableUserInput


Keywords

special

| Top |


clickSequence| Prev | Home | Next |doubleClickInsideItem

Updated on 1/30/99 by Scott S. Lawton (ssl@prefab.com)

Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.

This site built and maintained using Stage Three, a set of custom Frontier scripts.