Drag and drop into Finder
Drag and drop into Finder
- Subject: Drag and drop into Finder
- From: "Mike Davis" <email@hidden>
- Date: Wed, 17 Oct 2001 14:41:22 -0400
I want to support drag and drop from my application (AppKit) into the
Finder, so that it creates some kind of executable file to do the
following...
/Applications/SomeApp.app/Contents/MacOS/SomeApp -v -x -t
It would seem a small shell script would be appropriate, but I'd like have
an icon for it too.
When the user double clicks the file, I don't want to have to launch my
application so I can process the document. I just want the Finder to
execute the content.
Ideally, I'd just like to specify the string above in the drag clipboard,
rather than have to generate a file for the benefit of the Finder,
specifying that I want an alias to the application, SomeApp.app, with
arguments, "-v -x -t".
Any ideas? Maybe I'm missing something.
M.