• 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
sound and attributedString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sound and attributedString


  • Subject: sound and attributedString
  • From: "Dr. Uwe Schlosser" <email@hidden>
  • Date: Fri, 10 Dec 2004 07:35:51 +0100

Hallo,

In my application I use an NSTextView element. With drag and drop I can put an MP3 sound in this field and play this sound by selcting the sound slice. So far it works really fine.
I save the string in the NSTextView field with
[newCard setFeld1:[[NSAttributedString alloc] initWithAttributedString:[Feld1a textStorage]]];

After saving this string with the RTF-Format and reloading it from the disc, a sound file document icon appears in my NSTextView field and not the sound slice.

How can I can I activate the document file to get the sound slice.

Thank you very much for any help.

Uwe

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: AppleScript to open a file using the NSObject method - (BOOL)application: openFile:
  • Next by Date: Aqua icons from system fonts
  • Previous by thread: NSPrintInfo paperSize
  • Next by thread: Aqua icons from system fonts
  • Index(es):
    • Date
    • Thread