macos:Services

出自UXGuide.net

跳转到: 导航, 搜索

Services

Mac OS X services are features that applications can make available to each other. Through services, you can share your application’s resources and capabilities with other applications. In turn, users of your application can take advantage of the resources and capabilities provided by other applications. The Services feature is one of the many ways Mac OS X helps your application interoperate with others. (Interoperability is a characteristic of great software; to learn more about it, see “Interoperability.”)

By default, the application menu contains a Services submenu that lists services that are appropriate for the currently selected or targeted content in your application. This submenu automatically includes a command that opens Services preferences in Keyboard Shortcuts preferences. The services can be provided by applications installed anywhere on the system.

To vend services to other applications, your application provides information about each service, such as:

To learn the programmatic steps you need to take to provide services and take advantage of them, read Services Implementation Guide.

To ensure a good user experience, you should follow these guidelines when defining the services your application can provide:

Strive to create a unique service title. If there are two or more services with identical names, the application name is automatically displayed after each service to distinguish them.
Good examples are “Look Up in Dictionary” and “Make New Sticky Note.”
Instead, users should view the applications that can open a selected file in the Open With menu item of the Finder.
个人工具
名字空间
变换
动作
导航
工具箱