On 23 May '08, at 9:12 AM, Torsten Curdt wrote:
Hm ...somehow missed that response. But got it working myself. It's
actually much simpler:
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
int documentCount = [[[NSDocumentController
sharedDocumentController] documents] count];
Of course that only works if (a) you're using NSDocument to open all files, and (b) all the open-file requests actually succeeded in opening documents.
—Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
