Keyboard shortcut
Encyclopedia
In computing
Computing
Computing is usually defined as the activity of using and improving computer hardware and software. It is the computer-specific part of information technology...

, a keyboard shortcut is a finite set of one or more key
Computer keyboard
In computing, a keyboard is a typewriter-style keyboard, which uses an arrangement of buttons or keys, to act as mechanical levers or electronic switches...

s that invoke a software or operating system
Operating system
An operating system is a set of programs that manage computer hardware resources and provide common services for application software. The operating system is the most important type of system software in a computer system...

 operation when triggered by the user
User (computing)
A user is an agent, either a human agent or software agent, who uses a computer or network service. A user often has a user account and is identified by a username , screen name , nickname , or handle, which is derived from the identical Citizen's Band radio term.Users are...

. A meaning of term "keyboard shortcut" can vary depending on software manufacturer. For instance, Microsoft differentiates keyboard shortcuts from hotkeys (mnemonics) whereby the former consists of a specific key combination used to trigger an action, and the latter represents a designated letter in a menu command or toolbar button that when pressed together with the Alt key, activates such command.

Description

Keyboard shortcuts are typically an alternate means for invoking one or more commands that would otherwise be accessible only through a menu
Menu (computing)
In computing and telecommunications, a menu is a list of commands presented to an operator by a computer or communications system. A menu is used in contrast to a command-line interface, where instructions to the computer are given in the form of commands .Choices given from a menu may be selected...

, a pointing device
Pointing device
A pointing device is an input interface that allows a user to input spatial data to a computer...

, different levels of a user interface
User interface
The user interface, in the industrial design field of human–machine interaction, is the space where interaction between humans and machines occurs. The goal of interaction between a human and a machine at the user interface is effective operation and control of the machine, and feedback from the...

, or via a command console. Keyboard shortcuts generally expedite common operations by reducing input sequences to a few keystrokes, hence the term "shortcut".

Some keyboard shortcuts require the user to press a single key or a sequence of keys one after the other. Other keyboard shortcuts require pressing and holding several keys simultaneously. For simultaneous keyboard shortcuts, one usually first holds down the modifier key
Modifier key
In computing, a modifier key is a special key on a computer keyboard that modifies the normal action of another key when the two are pressed in combination....

(s), then quickly presses and releases the regular (non-modifier) key, and finally releases the modifier key(s). This distinction is important, as trying to press all the keys simultaneously will frequently either miss some of the modifier keys, or cause unwanted auto-repeat. One exception is shortcuts involving the key, which almost always requires pressing and releasing the Esc key before pressing the next key.

Mnemonics
Mnemonics (keyboard)
A mnemonic is an underlined alphanumeric character, typically appearing in a menu title, menu item, or the text of a button or component of the User interface...

 are distinguishable from keyboard shortcuts. One difference between them is that the keyboard shortcuts are not localized on multi-language software but the mnemonics are generally localized to reflect the symbols and letters used in the specific locale. In most GUI
Gui
Gui or guee is a generic term to refer to grilled dishes in Korean cuisine. These most commonly have meat or fish as their primary ingredient, but may in some cases also comprise grilled vegetables or other vegetarian ingredients. The term derives from the verb, "gupda" in Korean, which literally...

s, a program's keyboard shortcuts are discoverable by browsing the program's menus - the shortcut is indicated in the menu choice. There are keyboards, commonly called Specialty Keyboards that have the shortcuts for a particular application already marked on them. These keyboards can help the users learn the shortcuts and improve their speed of using the particular applications. In certain cases, those keyboards can be created by applying shortcut stickers on a regular keyboard, which usually gives quicker access to software program features not visible otherwise. Such keyboards are often used for editing video, audio, or graphics, as well as in software training courses.

Customization

When shortcuts are referred to as key bindings it carries the connotation that the shortcuts are customizable to a user's preference and that program functions may be 'bound' to a different set of keystrokes instead of or in addition to the default. This highlights a difference in philosophy regarding shortcuts. Some systems, typically end-user
End-user
Economics and commerce define an end user as the person who uses a product. The end user or consumer may differ from the person who purchases the product...

-oriented systems such as Windows
Microsoft Windows
Microsoft Windows is a series of operating systems produced by Microsoft.Microsoft introduced an operating environment named Windows on November 20, 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces . Microsoft Windows came to dominate the world's personal...

 or Macintosh
Macintosh
The Macintosh , or Mac, is a series of several lines of personal computers designed, developed, and marketed by Apple Inc. The first Macintosh was introduced by Apple's then-chairman Steve Jobs on January 24, 1984; it was the first commercially successful personal computer to feature a mouse and a...

 consider standardized shortcuts essential to the environment's ease of use. These systems usually limit a user's ability to change shortcuts, typically requiring a separate, possibly third-party, utility to perform the task. Other systems, typically Unix
Unix
Unix is a multitasking, multi-user computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs, including Ken Thompson, Dennis Ritchie, Brian Kernighan, Douglas McIlroy, and Joe Ossanna...

 and related, consider shortcuts to be a user's prerogative, and that they should be changeable to suit individual preference. Hardcore gamers often customize their key bindings in order to increase performance via faster reaction times. In most real-world environments, both philosophies co-exist; a core set of sacred shortcuts remain fixed while others, typically involving an otherwise unused modifier key or keys, are under the user's control.

"Sacred" keybindings

The original Macintosh interface defined a set of keyboard shortcuts that would remain consistent across application programs. This provides a better user experience
User experience
User experience is the way a person feels about using a product, system or service. User experience highlights the experiential, affective, meaningful and valuable aspects of human-computer interaction and product ownership, but it also includes a person’s perceptions of the practical aspects such...

 than the situation then prevalent of applications using wholly unrelated keys for different functions. This could result in data loss
Data loss
Data loss is an error condition in information systems in which information is destroyed by failures or neglect in storage, transmission, or processing. Information systems implement backup and disaster recovery equipment and processes to prevent data loss or restore lost data.Data loss is...

 under multitasking systems if, for example, one program used -D to mean "Delete" while another used it to access a "Disk" menu. The standard bindings were:
: Quit : Close Window : Italicize text : Underline text : Open : Print : Select All : Save : Find : Undo (resembles the action of striking out a mistake) : Cut (resembles scissors) : Copy : Paste (resembles an arrow pointing downward "into" the document, or a brush used for applying paste) : Bold text : New Document : User interrupt : Help (? signifies a question or confusion)

Problems with access keys

In summer 2002 a non-scientific study concluded that various web browsers like the IBM Home Page Reader did not make any distinction between the built in keyboard shortcuts for going in different modes and available access keys in websites.

Notation

The simplest keyboard shortcuts consist of only one key. For these, one generally just writes out the name of the key, as in the message "Press F1 for Help". The name of the key is sometimes surrounded in brackets or similar characters. For example: [F1] or <F1>. The key name may also be set off using special formatting (bold, italic, all caps, etc.)

Many shortcuts require two or more keys to be pressed together. For these, the usual notation is to list the keys names separated by plus signs or hyphens. For example: "Ctrl+C", "Ctrl-C", or "+". The Ctrl key is sometimes indicated by a caret character (^). Thus Ctrl-C is sometimes written as ^C. At times, usually on Unix
Unix
Unix is a multitasking, multi-user computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs, including Ken Thompson, Dennis Ritchie, Brian Kernighan, Douglas McIlroy, and Joe Ossanna...

 platforms, the case of the second character is significant - if the character would normally require pressing the Shift key to type, then the Shift key is part of the shortcut e.g. '^C' vs. '^c' or '^@' vs. '^2'.

Some keyboard shortcuts require keys (or sets of keys) to be pressed individually, in sequence. These are generally written with the individual keys (or sets) separated by commas or semicolons. For example "Alt+F, S" or "Alt+F; S" would mean "First press and together, then press ". Such shortcuts often represent a series of smaller shortcuts, strung together to create a larger action. To continue the "Alt+F, S" example, in many programs, this will open the "File" menu, and then invoke the "Save" function.

See also

  • Access key
  • Accelerator table
    Accelerator table
    In Windows programming, an accelerator table allows an application to specify a list of accelerators for menu items or other commands. For example, Ctrl+S is often used as a shortcut to the File→Save menu item, Ctrl+O is a common shortcut to the File→Open menu item, etc...

  • Common User Access
    Common User Access
    Common User Access is a standard for user interfaces to operating systems and computer programs. It was developed by IBM and first published in 1987 as part of their Systems Application Architecture...

  • Computer keyboard
    Keyboard (computing)
    In computing, a keyboard is a typewriter-style keyboard, which uses an arrangement of buttons or keys, to act as mechanical levers or electronic switches...

  • Human interface guidelines
    Human Interface Guidelines
    Human interface guidelines are software development documents which offer application developers a set of recommendations. Their aim is to improve the experience for the users by making application interfaces more intuitive, learnable, and consistent. Most guides limit themselves to defining a...

  • Pointing device gesture
  • StickyKeys
  • Table of keyboard shortcuts
    Table of keyboard shortcuts
    In computing, a keyboard shortcut is a sequence or combination of keystrokes on a computer keyboard which invokes commands in software.Some keyboard shortcuts require the user to press a single key or a sequence of keys one after the other. Other keyboard shortcuts require pressing and holding...


External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK