File:  [NeXTSTEP 3.3 examples] / Examples / AppKit / BusyBox / English.lproj / HelpFiles / Key Equivalents.rtf
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:29 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

{\rtf0\ansi{\fonttbl\f2\fswiss Helvetica;\f1\fmodern Courier;}
\paperw11780
\paperh9540
\margl120
\margr120
{\colortbl\red0\green0\blue0;}
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\b0\i0\ul0\fs36 Keyboard Alternatives
\fs24 \

\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 \
Users will be able to alter any keyboard alternative through the Preferences application (or a separate application just for that purpose).  Initially, until the user specifies a different preference, applications should follow the guidelines for keyboard alternatives shown on the next page.\
\
The guidelines place keyboard alternatives into three groups�reserved, required, and recommended.\
\

\pard\tx200\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 �	
\b Reserved
\b0 .  Keyboard alternatives that are reserved for specific commands must be used with those commands, and cannot be used for any others:\

\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 \

\pard\tx1740\tx3760\tx4600\tx5200\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\b\fc0 Alternative	Command	Menu\

\b0 Command-a	Select All	Edit menu\
Command-c	Copy	Edit menu\
Command-h	Hide	main menu\
Command-n	New	Document menu\
Command-o	Open	Document menu\
Command-p	Print	main menu\
Command-q	Quit	main menu\
Command-s	Save	Document menu\
Command-v	Paste	Edit menu\
Command-w	Close Window	Windows menu\
Command-x	Cut	Edit menu\
Command-z	Undo	Edit menu\

\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 \

\pard\tx200\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 �	
\b Required
\b0 .  Keyboard alternatives that must be used if the application implements the command (if not, the key can be used for some other command):\

\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 \

\pard\tx1700\tx3760\tx4600\tx5200\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\b\fc0 Alternative	Command	Menu
\b0 \
Command-=	Define in Webster	Services menu\
Command-;	Check Spelling	Edit menu\
Command-b	Bold (Unbold)	Font menu\
Command-d	Find Previous	Find menu\
Command-e	Enter Selection	Find menu\
Command-f	Find Panel	Find menu\
Command-g	Find Next	Find menu\
Command-i	Italic (Unitalic)	Font menu\
Command-t	Font Panel	Font menu\

\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 \

\pard\tx200\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 �	
\b Recommended
\b0 .  Keyboard alternatives that must be used for a command if the command has a keyboard alternative (if not, the key can be used for some other command):\

\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 \

\pard\tx1980\tx4240\tx4600\tx5200\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\b\fc0 Alternative	Command	Menu
\b0 \
Command-?	Help	Info menu\
Command-1	Copy Ruler	Text menu\
Command-2	Paste Ruler	Text menu\
Command-3	Copy Font	Font menu\
Command-4	Paste Font	Font menu\
Command-j	Jump to Selection	Find menu\
Command-m	Miniaturize Window	Windows menu\
Command-Shift-S	Save As	Document menu\

\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 \

\b Application-Specific Keyboard Alternatives
\b0 \
\
The main consideration in deciding which commands should have keyboard alternatives is frequency of use.  It's better to assign a keyboard alternative to a frequently used command than to one that's used less often.  Infrequently used commands should never be assigned keyboard alternatives, the Info Panel (or Info) command in particular.\
\
It's usually a good idea to assign keyboard alternatives to commands that are needed while working on the keyboard (for example, the commands in the Find menu).  The keyboard alternative frees users from having to switch their attention from the keyboard to the mouse and back again.\
\
Keep in mind, however, that some keyboard alternatives enable proficient users to work with one hand on the keyboard and the other on the mouse.  For example, Command-x, Command-c, and Command-v allow users to select with the mouse while carrying out cut, copy, and paste operations from the keyboard.  These keyboard alternatives free users from having to move the cursor out of the region where they're working just to click a command.\
\
If keyboard alternatives are assigned to any in a set of parallel commands for formatting or viewing data (e.g., commands that sort a list of items in various ways), the command that restores the default should also be assigned a keyboard alternative.  The keyboard can then take the user to an alternative format and back to the default, rather than just half way.
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.