Tools: MPW
Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

MPW Command Reference


NewKeyMap

Script

SYNTAX

NewKeyMap

DESCRIPTION

This script defines an alternate keyboard mapping that you may prefer to the default mapping. It begins by invoking the "SetKey -r" command, which establishes the default keyboard mappings. Subsequent "SetKey" commands define the new key equivalents.

The SetKey command allows you to assign keyboard equivalents for built-in commands, scripts, tools, and editor primitives. Because the NewKeyMap script is simply a list of SetKey commands, you can open and modify it to meet your own needs, or use it as a model for other customization scripts.

INPUT

None

OUTPUT

None

STATUS

NewKeyMap can return the following status codes:

0

no errors

1

syntax error

2

execution error; invalid input

PARAMETERS

None

OPTIONS

None

SEE ALSO

SetKey

 
 


Last Updated July 2000