Extract Text From NSLabels to Mail
Extract Text From NSLabels to Mail
- Subject: Extract Text From NSLabels to Mail
- From: PJBorges <email@hidden>
- Date: Fri, 17 Sep 2010 04:37:38 -0700 (PDT)
Hi,
In my app I have a feature that opens Mail.app. The feature extracts
the contents of a number of labels into the message area of Mail, but
it is only the first label that is extracted, the rest are not.
My code:
MailOutgoingMessage *emailMessage =
[[[mail classForScriptingClass:@"outgoing message"] alloc]
initWithProperties:
[NSDictionary dictionaryWithObjectsAndKeys:
[self.subjectField stringValue], @"subject",
[self.sumHours stringValue], @"content",
[self.sumBooks stringValue], @"content",
[self.sumMagazines stringValue], @"content", nil]];
How can I extract more than one label?
--Philip
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden