Instance Method

application:openFileWithoutUI:

Tells the delegate to open a file programmatically.

Declaration

- (BOOL)application:(id)sender openFileWithoutUI:(NSString *)filename;

Parameters

sender

The object that sent the command.

filename

The name of the file to open.

Return Value

YES if the file was successfully opened or NO if it was not.

Discussion

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 application’s user interface—that is, work with the file is under programmatic control of sender, rather than under keyboard control of the user.

See Also

Opening Files

- application:openFile:

Tells the delegate to open a single file.

- application:openTempFile:

Tells the delegate to open a temporary file.

- application:openFiles:

Tells the delegate to open multiple files.

- applicationOpenUntitledFile:

Tells the delegate to open an untitled file.

- applicationShouldOpenUntitledFile:

Invoked immediately before opening an untitled file.