10

Apple メニューをカスタマイズする方法 どのSDKを勉強すればよいですか?メニュー項目を挿入したい:

ここに画像の説明を入力

4

2 に答える 2

7

Apple Menu Specific

This AskDifferent question addresses removing an item from the Apple menu. Seems you could use the same technique to add an item. Just be sure to make a backup of any system files you edit.

The following posts recommend similar solutions but are a bit dated. The system file path appears to be the same, however.

Also mentioned in the AskDifferent quesiton, FruitMenu allows for menu customization. However, there's no support for the more current versions of OS X.

Version 3.8.4 released Mar 3, 2011
Requires Mac OS X 10.5.8 or Mac OS X 10.6.x; Rosetta
Compatible with Mac OS X 10.6 Snow Leopard.

OS X Menu Item Tutorials

  • Creating a Standalone StatusItem Menu 1

    This tutorial will show you how to create a StatusItem menu that will be available to all applications in the menu bar.

    When you are done, you will have a simple menu that will appear on its own in the menubar as a "universal" background application, and will contain two menu items that let you enter a string into the Console and Quit itself. Note that you will need to code the functionality yourself for any menu item(s) you add or modify, but this will get you started.

    enter image description here

  • Creating a Status Bar Application

    This tutorial assumes you have a basic knowledge of Objective-C. In this tutorial, we will walk-through on how to create a status bar only application for the Mac OS X.

    App Window Example

1 Mac Menu Bar Tutorial?

于 2013-02-21T02:55:22.603 に答える
0

これは、さまざまな方法で操作できるシステム フォルダー内の「Apple メニュー項目」という名前の単純なフォルダーです。ただし、名前を変更したり、システム フォルダの外に移動したりしないでください。

http://www.macoptions.com/os85/applemenu.html

于 2016-03-24T03:39:13.707 に答える