Drag and Drop to Finder (again)
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.