Specifications
Adding Quick Look Support for File Types
To support additional le types in Quick Look, install the application’s Quick Look
generator and add the le type to the Quick Look whitelist. An application’s
Quick Look generator is usually installed when you install the application.
To add Quick Look support for more le types:
1 Install the application associated with the le type.
2 If you want to remove the application but keep its Quick Look generator, back up
the contents of /Library/QuickLook/, uninstall the application, and then restore
/Library/QuickLook/.
3 In Terminal, enter the following command:
$ sudo cp /etc/wikid/quicklook.conf.default /etc/wikid/quicklook.conf
If prompted, enter your administrator account password.
4 Open /etc/wikid/quicklook.conf in a text editor.
To open this le in a command-line editor, enter:
$ sudo nano /etc/wikid/quicklook.conf
If prompted, enter your administrator account password.
You can use any command-line text editor, as long as you precede the command to
run the text editor with sudo.
5 Add the le type’s extension as a string in the array for the supportedExtensions key.
For example, if your le type’s extension is “xyz,” the supportedExtensions array should
look similar to this:
<key>supportedExtensions</key>
<array>
<string>xyz</string>
<string>bmp</string>
...
</array>
6 If your le type is a bundle, add the extension as a string in the array for the
bundles key.
For example, if your le type’s extension is “xyz” and is a bundle, the bundles array
should look similar to this:
<key>bundles</key>
<array>
<string>xyz</string>
<string>pages</string>
...
</array>
66 Chapter 5 Allowing Specic File Types for Quick Look