I'm writing a pyobjc document-based cocoa application, but i think my question relates to cocoa framework rather than on programming language, so i post it here.
The application is a digital signature client that should be able to sign any file type producing a .p7m file. Apllication will support timestamping too, so it could generate .tsr files too. I began from the document-based cocoa template from XCode and i've subclassed NSDocument for P7MDocument and for TSRDocument, writing two separating Windows, each in its XIB file. Using Info.plist i can obtain that double clicks on supported file types open my app (and the right NSDocument window too), showing the right UI. Now i want that every file could be dragged on application dock icon to spawn a modal window asking the operation to take. I've tried overloading application:openFiles but it works just for supported files. I want to distinguish drag-on-icon file opening from double-click file opening: how could i achieve this result? Thanks in advance -- Domenico Testa http://del.icio.us/domtes _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
