image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
LinkBack Thread Tools
  #1  
Old August 5th, 2009, 11:26 PM
Registered User
 
Join Date: Aug 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
dfb23 is on a distinguished road
Creating a new file kind

Apologies if this has been asked and answered--I found a lot of answers to similar questions, but not this one.

I'm migrating from Windows to Mac (OSX 10.5.7), which entails moving a lot of files over. Some of these files are bass tablatures--essentially, plain text files with a *.btab extension.

When I brought them over to my Mac, they showed up as "Unix executable"(!) files, but I opened them successfully with TextEdit. Now they show up as "TextEdit.app document"s. This is fine, but I'd like to make the *.btab files show up as "Bass tab" or some such as their file kind--it's not absolutely necessary, but it'd help me keep everything organized.

I know how to create a new file type in Windows (essentially, create an association between the *.btab extension and any program, and give it a name). I can't figure out how to do the equivalent on the Mac, though. Any suggestions?

(And yes, before anyone decides to lecture me on it, I realize that file kinds on the Mac aren't dependent on extensions. I just want to be able to associate plain text files with TextEdit, but have them called something else.)
Reply With Quote
  #2  
Old August 6th, 2009, 08:44 AM
Registered User
 
Join Date: Jun 2002
Location: USA
Posts: 3,175
Thanks: 5
Thanked 63 Times in 62 Posts
MisterMe will become famous soon enough
Quote:
Originally Posted by dfb23 View Post
... Any suggestions?

...
The first thing that you should do is to see if there is a MacOS X version of your unnamed application that handles .btab files. If not, then do this:
  • Click on a .btab file.
  • Press [cmd]+[ i ] or select the File/Get Info menu item.
  • Locate the Opens with: popup menu.
  • Select your favorite compatible application
  • Press the Update all... button.
Bear in mind that this will not cause your .btab files to display with a unique icon unless you have an application designed to handle .btab files as bass tablature files.
Reply With Quote
  #3  
Old August 7th, 2009, 04:36 PM
Registered User
 
Join Date: Aug 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
dfb23 is on a distinguished road
Right--and I've done this. What I'm hoping to do is to give these files a kind name that's more descriptive than "TextEdit.app Document" (which is what this does to them). Can I change their kind names, but not the names of other TextEdit documents?

Like I said in my original post, this is easy (once you know how to do it) on a Windows machine, and so I figured it'd be similarly easy but hidden on a Mac. Is it in fact possible on a Mac?
Reply With Quote
  #4  
Old August 7th, 2009, 04:53 PM
ElDiabloConCaca's Avatar
Registered User
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 13,004
Thanks: 8
Thanked 444 Times in 425 Posts
ElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of light
Some good information about what you are trying to do in the second post on this page:

http://discussions.apple.com/thread....sageID=7219213

Basically, Mac OS X looks at special plist files inside of application bundles to determine which files are associated with which applications, then stores this information in some database that is, in turn, referenced by the Finder to do things such as display application-specific icons, double-clicking, "Open with...", etc.

It seems to me, at least for the moment, that if you wanted a new file type, an application would have to be created for that file to associate itself with. It may be extremely simple to create a "dummy" application in XCode that has the correct plist information contained within it to associate a custom icon and custom application name with your documents.
__________________
Mac mini 2.0GHz 10.6.2 • 4GB • 320GB • Superdrive • 4 x 1TB USB 2.0 • LED Cinema Display
MacBook 2.0GHz Core 2 Duo - White 10.6.2 • 4GB • 250GB • CD-RW/DVD-ROM
iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 12Mb/1.5Mb
http://www.jeffhoppe.com
Reply With Quote
Reply

Bookmarks

Tags
file kinds, file types, windows-mac migration

Thread Tools

Posting 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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 11:01 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
Copyright 2000-2010 DigitalCrowd, Inc.