How to set the name of open-with application for a specific file?

2009-07-31 Thread
I can retrieve the name of the app used to open a file at the given path by NSWorkspace getInfoForFile method below. - (BOOL)getInfoForFile:(NSString *)fullPath application:(NSString **)appName type:(NSString **)type; I want to change the name of the app used to open the file. Does anybody

How to customize the context menu appearances.

2009-06-22 Thread
Thank you for the IB Plugin BWToolkit. http://brandonwalkin.com/bwtoolkit/ I can implement transparent popup buttons in my HUD windows. But the menu, that appears from a transparent popup button, has still the same appearance as the normal menu, ie. white background and black character color

Customize the NSMenu appearances

2009-06-21 Thread
Does anybody know how to customize the NSMenu appearances, for example, its transparency, background color or foreground color. I want to customize the menu appearances popped up in the HUD panel. Satoshi ___ Cocoa-dev mailing list (Cocoa-dev@lis

Re: Building a 64-bit Preferences Pane

2009-04-29 Thread
Thanks!! My problem was resolved at <https://devforums.apple.com/community/mac> Satoshi On 2009/04/30, at 12:59, Clark Cox wrote: 2009/4/29 慧 松本 : On 2009/04/30, at 12:05, Andrew Farmer wrote: On 29 Apr 09, at 19:48, 慧 松本 wrote: Does anybody know how to make 64-bit preference

Re: Building a 64-bit Preferences Pane

2009-04-29 Thread
On 2009/04/30, at 12:05, Andrew Farmer wrote: On 29 Apr 09, at 19:48, 慧 松本 wrote: Does anybody know how to make 64-bit preference panes? You can't, yet. The System Preferences application - which loads preference panes as plugins - is still 32-bit only, so it can't load 64-bi

Building a 64-bit Preferences Pane

2009-04-29 Thread
I have been trying to make a simple 64-bit preference pane. But all trials ended in failure. For example: 1) Make a new preference pane project "SamplePrefPane" with Xcode. 2) Set the build option "ARCHS" to "x86_64" 3) Build it and double click SamplePrefPane.prefPane Then System Preferences

[SOLVED] Re: What is [NSTextStorage fontSetChanged]?

2008-03-12 Thread
orage subclass. - (BOOL)fixesAttributesLazily { return YES; } By default, custom NSTextStorage subclasses are not lazy, but the provided concrete subclass is lazy by default. Satoshi On 2008/03/12, at 16:18, 慧 松本 wrote: On Leopard, my editor application sometimes receives the fontSetCh

What is [NSTextStorage fontSetChanged]?

2008-03-12 Thread
On Leopard, my editor application sometimes receives the fontSetChanged notification when it was turned to the front application. But I don't set my application as an observer of NSFontSetChangedNotification explicitly. The notification invokes [NSTextStorage fontSetChanged] as below and