Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1019277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:59:12+00:00 2026-05-16T10:59:12+00:00

Pretty much all the apps I use on a regular basis implement this ‘seemly

  • 0

Pretty much all the apps I use on a regular basis implement this ‘seemly simple’ scenario, yet I can’t replicate this in my own Cocoa application. Please consider these steps:

  1. The application is not running
  2. You drop a file, or a selection of files onto the app’s icon.
  3. The app runs and performs some actions on the dropped files.
  4. Maybe it opens them, maybe not, but stuff happens.

When I try googling the answer, some of them even here on stackoverflow point me towards the NSApplicationDelegate’s application:openFiles: method. The explanation on how to get from Apple events to the delegate is here.

With the proper UTIs in place (****), this works like a charm when the application is already running. However, since I’m trying to make a ‘droplet’ style application, I want it to also work when the app is not yet running.

And in this last scenario, the application:openFiles: method is not called. Right now I have only a simple NSLog() call in there, and it doesn’t show (I’m looking at the Console.app, since it’s kinda hard simulating a dropped file on build in XCode).

Can someone tell me where to look, what to do, what to change?

Cheers,
Eric-Paul.

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T10:59:13+00:00Added an answer on May 16, 2026 at 10:59 am

    This is actually really rather simple: The application is likely not registered with launch services. Try installing it in your Applications folder, and see if that helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I think the title pretty much says it all... I'm looking to implement an
This question pertains to pretty much all C-like curly bracket programming languages. I'm talking
I've looked around at pretty much all the SMS posts here on SO and
Ive specified white backgrounds for pretty much all widgets and it works, except when
I was going through number of pages in google and pretty much all answers
I need my program to see different colors. Pretty much all I need is
I'm making some game, and I have made it pretty much all, but not
I'm learning Eclipse PDT for PHP development. In pretty much all tutorials I've read
Title pretty much says it all. The web.config, unchanged from how VS2008SP1 generated it,
The question pretty much says it all. I have a joomla website and I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.