Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Set default: open files that my program created

Set default: open files that my program created
Thread Tools
TheoCryst
Mac Elite
Join Date: Nov 2005
Location: Seattle, WA, USA
Status: Offline
Reply With Quote
Nov 7, 2007, 10:59 PM
 
My NSDocument-based application is capable of reading and writing most common image formats (GIF, JPG, PNG, etc). I'm currently searching for a way to perform the following: upon saving (or creating) a file with my program, it should default to opening with my application. Not all files of that format, just the specific one I created.

Example: create a document with Word, modify and save it with OpenOffice. In the future, double-clicking the file will open it with OOo. Same goes for images (Preview versus Photoshop, etc). I'm sure it's a simple fix, but I just can't find it. Thanks in advance!

Any ramblings are entirely my own, and do not represent those of my employers, coworkers, friends, or species
     
numero
Junior Member
Join Date: Mar 2000
Location: Salem, OR, USA
Status: Offline
Reply With Quote
Nov 11, 2007, 03:14 AM
 
     
TheoCryst  (op)
Mac Elite
Join Date: Nov 2005
Location: Seattle, WA, USA
Status: Offline
Reply With Quote
Nov 14, 2007, 02:57 PM
 
Originally Posted by numero View Post
Yep, that's exactly what I was looking for, and it's working perfectly. Thanks a bunch!

EDIT: It's official: I registered 'Pbsh' as my creator code. Woohoo, I'm official!
( Last edited by TheoCryst; Nov 14, 2007 at 03:05 PM. )

Any ramblings are entirely my own, and do not represent those of my employers, coworkers, friends, or species
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 03:24 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,