How to get new file types recognized for drag&drop?
posted 10 years ago
I'm in the process of Mac-ifying a Java app, adding a native launcher, setting up icons, registering file types, and so on. In the info.plist file I have defined a new file type as specified below. The developer docs state that that is sufficient to have the new file type (immodestly called ".ulf") recognized as a file it should open with my app, and double-clicking it now works fine. But dragging a file of the type on the icon of my app is not recognized, i.e. no open document event is sent. Is there some other setting I need to perform in the application to enable drag&drop? (I have verified with ScriptEditor that sending an open document event does result in an event being sent and handled correctly.)