• 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
NSPasteboard: writing non-existent filename
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPasteboard: writing non-existent filename


  • Subject: NSPasteboard: writing non-existent filename
  • From: Karim Morsy <email@hidden>
  • Date: Mon, 29 May 2006 17:30:10 +0200

hi,

the type I declare for the PasteBoard is NSFilesnamePboardType.
when I write the string (path) of a file to the pasteboard, I add encoded information for the receiver view of the drag & drop operation in a prepended string (the view then parses the string, obtains the info and returns the correct file name).
so for example instead of writing @"/tmp/someFile" to the pasteboard I do @"/***someInfo***/tmp/someFile".
I'm getting an error message in the run log: "can't create FSRef ....".
apart from this, things work as desired. So I was wondering, if it's just that error message that's displayed or if this can cause a crash ?


thanks,
Karim

_______________________________________________
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


  • Follow-Ups:
    • Re: NSPasteboard: writing non-existent filename
      • From: Greg Herlihy <email@hidden>
    • Re: NSPasteboard: writing non-existent filename
      • From: Bill Bumgarner <email@hidden>
  • Prev by Date: Re: question: NSThread & NSLock
  • Next by Date: Installer to Check to see if it's an Intel Mac
  • Previous by thread: Re: appending a string to an NSTextView
  • Next by thread: Re: NSPasteboard: writing non-existent filename
  • Index(es):
    • Date
    • Thread