On Mon, Nov 17, 2008 at 2:52 PM, <[EMAIL PROTECTED]> wrote:
> It seemed like the think to use.
Read that first sentence again. "Sent directly by the sender to the
delegate..." The delegate is the receiver, not the NSApplication
instance.
> Ok, How do I open a file pragramatically?
Read up on
Documentation for application:openFileWithoutUI:
"Sent directly by sender to the delegate to request that the file filename be
opened as a linked file. The method should open the file without bringing up
its applications user interfacethat is, work with the file is under
programmatic control o
On Nov 17, 2008, at 9:44 AM, [EMAIL PROTECTED] wrote:
I am trying to open a defined document type programmatically.
Document type is defined in info.plist and opens with UI just fine.
I can not get openFileWithoutUI to work. I have read documentation
and I find no samples of code. There are
On 17 Nov 2008, at 10:44 AM, [EMAIL PROTECTED] wrote:
I am trying to open a defined document type programmatically.
Document type is defined in info.plist and opens with UI just fine.
I can not get openFileWithoutUI to work. I have read documentation
and I find no samples of code. There are
Try the following instead:
3: I call from another controller with the following:
NSApplication* app = [NSApplication sharedApplication];
[self application:app /* or NSApp */ openFileWithoutUI: totalFile];
EG
-Original Message-
3: I call from another controller with the following:
NSApplic