There's been some mention of LaunchBar on this list before, so I thought I'd mention this here since it also involves BBEdit:

Using LaunchBar's Smart Groups feature, it seems that BBEdit documents get grouped as two different kinds: "BBEdit Text Documents" and "BBEdit.app Documents". I've been scratching my head all day on why this is.


Here's what I've done so far:

(1) I use BBEdit for all my plain text editing. Using the Finder, I've assigned BBEdit as the default app for files with the following extensions: txt, text, pl, php, py, sh, tcl, and a variety of others too numerous to list.

(2) Using RCDefaultApp (http://www.rubicode.com/Software/ RCDefaultApp/), I've also set the public.data and public.plain-text UTIs to use BBEdit as the default application in an effort to force text files without filename extensions to open with BBEdit.

(3) Using RCDefaultApp, I've set the public.python-script and public.shell-script UTIs to use BBEdit. This probably wasn't necessary as step (1) already assigned BBEdit to these types, I believe.


So this leaves me with two problems:

(1) All the file types mentioned above show up with the proper BBEdit icon in the Finder and open in BBEdit when double-clicked except for new text files with no filename extension. For example, if I "touch ~/ Desktop/testfile" in Terminal, that file opens with BBEdit when double-clicked but gets created with a generic file icon rather than a BBEdit document icon. Why is this? And how do I get it to adopt the BBEdit document icon?

(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'm at the limit of my knowledge on this topic and really hope someone here can point me in the right direction.

Thanks in advance,
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