On 6/17/09 7:07 PM, Mitchell Livingston said:
>None of the apps I found have it set up in the Info.plist. From users
>with the problem I've discovered they have it set up as
>"com.bittorrent.torrent". Perhaps I should just change it to that, but
>that's not future-proof enough incase another progr
On Jun 16, 2009, at 6:20 PM, Sean McBride wrote:
On 6/15/09 12:36 AM, Mitchell Livingston said:
Thanks for that. I am dealing with .torrent extensions. I have the
UTI
defined as "org.bittorrent.torrent". Both apps are using the same
file
format, so there shouldn't be a problem with a sing
On 6/15/09 12:36 AM, Mitchell Livingston said:
>Thanks for that. I am dealing with .torrent extensions. I have the UTI
>defined as "org.bittorrent.torrent". Both apps are using the same file
>format, so there shouldn't be a problem with a single UTI.
OK, you're in a not-so-bad situation then. Th
Hey Sean,
Thanks for that. I am dealing with .torrent extensions. I have the UTI
defined as "org.bittorrent.torrent". Both apps are using the same file
format, so there shouldn't be a problem with a single UTI. It would be
great if Apple included this in the OS, although is there a chance
Mitchell,
Welcome to the wonderful world of file extensions! :)
A file has one and only one UTI. The system (Launch Services aka LS)
decides on a UTI based on the file's extension and HFS type (and MIME
type?). So if two apps declare different UTIs that refer to the same
extension, LS will pick
As a followup to this, it appears that the users having problems do
have a different app set for this file type, so it's not recognizing
my UTI name for NSOpenPanel's setRequiredType: and NSWorkspace's
typeOfFile:... Is there a way around this besides specifying the file
extension explicitl
I have created an UTI in my app's Info.plist. For open panels, adding
files, etc. I use this (or check [[[NSWorkspace sharedWorkspace]
typeOfFile: file error: NULL] isEqualToString: ...]). This works fine
for me, but this is failing for the proper file type for some users.
Perhaps the syste