• 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
Drag and Drop to Finder (again)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drag and Drop to Finder (again)


  • Subject: Drag and Drop to Finder (again)
  • From: Mike Davis <email@hidden>
  • Date: Mon, 24 Dec 2001 01:51:46 -0500

Well, I still haven't found a way to do drag and drop to the Finder for files correctly...

It seems the files have to exist and I have to specify them immediately. This is not correct behaviour, IMO, as Finder should ask me to provide the actual files when it wants them - it does so for strings.

When I declare the types, I specify a private type, file names and a string. I only actually provide the private type (internal app drag and drop) and the string.

Problem is, Finder never asks me for the files and accepts the string as a text clipping. If I provide the files up-front, it takes them. I don't want to have to create temporary files just for a pasteboard which might not end up in the Finder. Besides, when can I delete the files if they're not wanted!

Has anyone figured a way around this issue yet? I tried a search of CocoaDev but came up empty handed.

I bet it worked okay in Workspace.app.


  • Follow-Ups:
    • Re: Drag and Drop to Finder (again)
      • From: Charles Srstka <email@hidden>
  • Prev by Date: Re: NSFileHandle socket question
  • Next by Date: application doc type bindings, part 2
  • Previous by thread: Re: NSFileHandle socket question
  • Next by thread: Re: Drag and Drop to Finder (again)
  • Index(es):
    • Date
    • Thread