BBEdit doesn't set HFS file type/creator anymore. (I don't
remember when I made this change.)
Because the OS hasn't supported them for many years.
<key>CFBundleTypeOSTypes</key>
<array>
<string>TEXT</string>
</array>
On 9 May 2019, at 9:16, Rich Siegel wrote:
To solve your problem: if you want to make new clippings that will open in BBEdit when you double-click them in the Finder, give them a ".txt" extension.
Another possible solution: BBEdit ships with a Service called “Open File in BBEdit”. You can set a keybinding for it in the Keyboard prefpane (I use ⌘⌥B) and use that to open any file in BBEdit, regardless of file extension or other metadata.
But also: I’ve managed to make “bare” files (no extension or other metadata) open in BBEdit with a double-click. For example, I just used touch ~/Desktop/bare_file
in the Terminal to create such a file, and then double-clicked it in the Finder; BBEdit opened.
Such files have a Uniform Type Identifier of public.data
, and using a utility like RCDefaultApp you can set the default application for that UTI. (I’ve found that this can sometimes succeed where using “Change All…” in the Get Info window fails.)
Hope this helps!
-sam
The legacy file system APIs which explicitly supported HFS file
type and creator still work for the moment, but are deprecated.
Another possible solution: … Hope this helps!
Erm.. and Action in Automator. I'm never going to get uso that.
This will change the modification date for every clipping file in the folder, pretty sure.