• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Extract Text From NSLabels to Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Extract Text From NSLabels to Mail
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: SCPreferencesLock issue?
  • Next by Date: Re: Extract Text From NSLabels to Mail
  • Previous by thread: Re: SCPreferencesLock issue?
  • Next by thread: Re: Extract Text From NSLabels to Mail
  • Index(es):
    • Date
    • Thread