On Oct 30, 2006, at 5:25 PM, D. Rande wrote:

(2) The LaunchBar Smart Groups issue: most text files get grouped by LaunchBar as "BBEdit Text Documents" except for files ending with a .py or .sh filename extensions, which get grouped in the "BBEdit.app Documents" smart group. On top of this, those same .py and .sh files refuse to display the BBEdit document icon in LaunchBar, using a generic file icon instead. But the Finder *does* show the files with the BBEdit document icon.

RCDefaultApp identifies the "py" and "sh" filename extensions as "BBEdit.app Documents". Where as the "php", "pl", and "tcl" extensions are all identified as "BBEdit Text Documents".

So why are Python and Shell script files identified differently than all other text files? I see that BBEdit's Info.plist does not list "py" or "sh" in its CFBundleTypeExtensions, but "php", "pl", and "tcl" are listed. Could this be related to my problem?


I got no response from this post from a few days ago, but I thought I'd follow up here with my solution just in case anyone is interested.

It looks like the issue was, indeed, related to the CFBundleTypeExtensions node in BBEdit's Info.plist file (/ Applications/BBEdit.app/Contents/Info.plist).

Using Property List Editor, I added the "py" and "sh" filename extensions as children of the CFBundleTypeExtensions node. I then rebuilt my LaunchServices database (not sure if that was necessary) and rebooted my machine.

Everything now seems to be working properly. LaunchBar recognizes all .py and .sh files as "BBEdit Text Documents" and they show up with the proper icon.

So this brings me to my next question: is there some reason that BBEdit doesn't list "py" and "sh" in its CFBundleTypeExtensions node by default? My understanding is that this node of the Info.plist file is supposed to contain all file extensions commonly handled by the application.

Dennis



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to