Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Add Quick Look support for certain file formats' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Add Quick Look support for certain file formats
Authored by: domantasj on Apr 23, '08 12:32:46PM
This seems to work with TextEdit and .nfo files: Right before the end of the file:

<key>UTExportedTypeDeclarations</key>
	  <array>
	    <dict>
	      <key>UTTypeConformsTo</key>
	      <array>
	        <string>public.text</string>
	        <string>public.plain-text</string>
	      </array>
	      <key>UTTypeDescription</key>
	      <string>NFO information file</string>
	      <key>UTTypeIdentifier</key>
	      <string>com.macromates.textmate</string>
	      <key>UTTypeTagSpecification</key>
	      <dict>
	        <key>com.apple.ostype</key>
	        <string>TEXT</string>
	        <key>public.filename-extension</key>
	        <array>
	          <string>nfo</string>
	        </array>
	      </dict>
	    </dict>
	  </array>
And then use Terminal to do: touch /Applications/TextEdit.app/

[ Reply to This | # ]
10.5: Add Quick Look support for certain file formats
Authored by: ianeiloart on May 19, '08 03:36:34AM

: domantasj's comment isn't quite right. The text doesn't go right at the end, it has to be nested inside the <dict> structure. So, you can paste the text above the last two lines:

--- paste here ---
</dict>
</plist>

Works for BBEdit, too. You might need to change the value for UTTypeIdentifier, though.

---
Ian Eiloart



[ Reply to This | # ]
10.5: Add Quick Look support for certain file formats
Authored by: domantasj on Nov 08, '09 12:54:52PM
thanks, ianeiloart

also, in 10.6 (Snow Leopard) the last step should be:
sudo touch /Applications/TextEdit.app/ 


[ Reply to This | # ]