Re: How disable File/Open command -- SOLVED

2011-08-15 Thread Mike Abdullah
On 15 Aug 2011, at 14:52, McLaughlin, Michael P. wrote: > I managed to find this solution shortly after sending a request to this list > for help. I show the code below so that future programmers might find this > more easily that I did. This solution has not been tested with Lion. [Note: >

How disable File/Open command -- SOLVED

2011-08-15 Thread McLaughlin, Michael P.
I managed to find this solution shortly after sending a request to this list for help. I show the code below so that future programmers might find this more easily that I did. This solution has not been tested with Lion. [Note: This app does not have a File/New command and does not open an un

Re: How disable File/Open command

2011-08-15 Thread Vyacheslav Karamov
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/MenuList/Articles/EnablingMenuItems.html#//apple_ref/doc/uid/2261-BAJBFGED 15-Aug-11 16:08, McLaughlin, Michael P. пишет: I have a Cocoa document app targeting Snow Leopard. It is, in most respects, a standard document

How disable File/Open command

2011-08-15 Thread McLaughlin, Michael P.
I have a Cocoa document app targeting Snow Leopard. It is, in most respects, a standard document app except that, given an input file, it launches a long, multi-threaded computation. Consequently, it can handle only one input file at a time. For the obvious reasons, I would very much like to