Services menu

Services menu

The Services menu (or simply Services) is a user interface element in a computer operating system. The services are programs that accept input from the user selection, process it, and optionally put the result back in the clipboard. The concept originated in the NeXTSTEP operating system, from which it was carried over into Mac OS X and GNUstep. Similar features can be emulated on other operating systems.

Mac OS X

Apple advertises the Services menu in connection with other features of its operating system. For example, it's possible to desktop search for a piece of text by selecting it with the mouse and using the service from Spotlight. Other central services are Grab for taking screenshots, and the system spell checker. The concept is similar to a GUI equivalent of a Unix pipe, allowing arbitrary data to be processed and passed between programs.

Services can be implemented as application services, which expose a portion of the functionality of an application to operate on selected data, usually without displaying an interface, or they may be standalone services which are small utilities to manipulate data, such as transforming the case of selected text or cropping an image to use as an icon. Their simple, one-purpose nature and not requiring a GUI to be designed makes writing a standalone services a popular beginner's Mac OS X programming projectFact|date=April 2008

Since many applications install their entries without asking the user, the OS X services menu tends to clog up with dozens of entries quickly. Most users only will ever use a small subset of the possible options, therefore cutting down and customizing the menu makes it both faster and more pleasant to use. Third party software is required to do this, however.

Emulation

From the point of view of software, the Services menu is a means of inter-process communication. To the user, it is an interface for executing actions on selected data. The emulation of the Services menu is based on the fact that there are several ways this can be achieved in an operating system. Even in Mac OS X, there is an alternative system called the context menu handler, which is carried over from classic Mac OS.

In the X Window System, any data selected in an application is available to all other programs. Thus the Services menu can be an application which retrieves the current selection, and lets the user choose an action. Missing is the part about returning the processed data back to the originating application. Instead, the service can open a new window to show the results.

Alternatively, the service could replace the current cut buffer with the results of the operation, leaving the user only to perform a paste (since different toolkits implement copy/select and paste commands differently, and probably not under external program control).

References

* [http://developer.apple.com/documentation/Cocoa/Conceptual/SysServices/ Introduction to System Services] at Apple Developer Connection

External links

* [http://iki.fi/Tuukka/software/services Services menu emulation]
* [http://www.manytricks.com/servicescrubber/ Service Scrubber] OS X utility for customizing the services menu
* [http://wafflesoftware.net/thisservice/ ThisService] OS X utility that can create a service from either an AppleScript or Shell script


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • menu — 1. menu, ue [ məny ] adj. et adv. • 1080; lat. minutus, de minuere « diminuer » 1 ♦ Qui a peu de volume. ⇒ 2. fin, mince, petit. Couper en menus morceaux. Les menues branches d un arbre. Menus objets. ⇒ babiole, bricole, brimborion. « de vraies… …   Encyclopédie Universelle

  • Services de terminal — Pour les articles homonymes, voir TSE. Terminal Services est un composant de Microsoft Windows (dans les versions clientes et serveur) qui permet à un utilisateur d accéder à des applications et des données sur un ordinateur distant et au travers …   Wikipédia en Français

  • Services — Service Cette page d’homonymie répertorie les différents sujets et articles partageant un même nom …   Wikipédia en Français

  • Terminal Services — Services de terminal Pour les articles homonymes, voir TSE. Terminal Services est un composant de Microsoft Windows (dans les versions clientes et serveur) qui permet à un utilisateur d accéder à des applications et des données sur un ordinateur… …   Wikipédia en Français

  • Operation Menu — Further information: Operation Commando Hunt Operation Menu Part of the Vietnam War Date 18 March 1969 to 28 May 1970 …   Wikipedia

  • Canada Border Services Agency — Infobox Government agency agency name = Canada Border Services Agency nativename = Agence des services frontaliers du Canada nativename a = nativename r = logo width = 220px logo caption = seal width = 120px seal caption = formed = December 12,… …   Wikipedia

  • Remote Installation Services — Saltar a navegación, búsqueda Los Servicios de Instalación Remota (Remote Installation Services) son obra de un tipo de servidor Microsoft que permite a ordenadores con PXE activado ejecutar parámetros de arranque de forma remota. Contenido 1… …   Wikipedia Español

  • Remote Desktop Services — Developer(s) Microsoft Stable release 7.0 (6.1.7600) / October 27, 2009 …   Wikipedia

  • Terminal Services — Infobox Software name = Terminal Services developer = Microsoft operating system = Microsoft Windows, Mac OS X latest release version = 6.0.6001.18000 latest release date = February 4, 2008 use = Remote Desktop Access license = MS EULA website =… …   Wikipedia

  • Internet Information Services — Screenshot of IIS Manager console of Internet Information Services 7 Developer(s) Microsoft Stable release …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”