Re: Setting application to be the default application
Re: Setting application to be the default application
- Subject: Re: Setting application to be the default application
- From: Mike Abdullah <email@hidden>
- Date: Tue, 8 Jan 2008 19:27:09 +0000
UTIs and all of this stuff are outside the scope of Cocoa; they apply
to all apps on the system. Documentation should be pretty easy to
find. e.g. http://developer.apple.com/macosx/uniformtypeidentifiers.html
Mike.
On 8 Jan 2008, at 19:12, Ryan Homer wrote:
Maybe someone can lead me in the right direction as I am not sure
exactly what to look for in the docs.
I know that based on an application's plist, you can associate your
app with a file extension, so that your app will open .txt files
instead of Text Edit. However, there are also other ways to
establish these associations, such as clicking on a hyperlink
starting with http:// should open that link in the default browser
and one that starts with ftp:// should use the default FTP
application.
I have the "Default Apps" panel installed in my System Preferences
and in the Apps section, my application does not even show up in
there. There is also association by MIME Type, URLs, UTIs...
How would I associate links like http: and ftp: with my application?
What is the link that is associated with Instant Messaging
applications? I ask this because in "Default Apps" there is the URLs
section and there's an aim link that's associated with iChat, for
example as well as iChat's own "ichat" URL. Would these be something
like "ichat://username" or "aim://screenname"?
What is a UTI?
Where in the Cocoa documentation can I find info on this?
Thanks!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden