title: How to use NSWorkspace to be able to open a filetype? - Cocoa
body: <p>My app is able to extract .deb files but only if you specify where with buttons in the app. But I want to be able to just click on a .deb file and have my app open up, run the actions I already have, then quit when it's done. Right now I'm using NSWorspace to tell my app it can open .deb files but I don't know how to have it run my actions from that. Is using NSWorkspace even the right thing to do? I also need to be able to get the Filepath of the file being opened in string format and I can't seem to fighure this out?</p>