• 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 into Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Fatal crash in NSTabStop?
  • Next by Date: Re: cocoa-dev digest, Vol 1 #733 - 17 msgs
  • Previous by thread: Fatal crash in NSTabStop?
  • Next by thread: Re: cocoa-dev digest, Vol 1 #733 - 17 msgs
  • Index(es):
    • Date
    • Thread