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: Andy LoPresto on Nov 08, '07 09:57:44AM
In case anyone else would like ASP code to display in Quick Look (PHP does by default but not ASP), here is the code I used (Coda required). In /Applications/Coda.app/Contents/Info.plist: <key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.text</string>
<string>public.plain-text</string>
</array>
<key>UTTypeDescription</key>
<string>ASP code file</string>
<key>UTTypeIdentifier</key>
<string>com.panic.coda</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>com.apple.ostype</key>
<string>TEXT</string>
<key>public.filename-extension</key>
<array>
<string>asp</string>
<string>aspx</string>
</array>
</dict>
</dict>
</array>
And then in terminal: $ touch/Applications/Coda.app as the previous poster noted.

[ Reply to This | # ]