Add Quick Look support for WordPerfect form files
Jan 22, '10 07:30:00AM • Contributed by: titaniumtroop
Jan 22, '10 07:30:00AM • Contributed by: titaniumtroop
OpenOffice will open WordPerfect files, regardless of their extension. Quick Look will allow you to preview .wpd files, as long as you have the WordPerfect.qlgenerator package installed in /Library/Quicklook. However, one cannot Quick Look Wordperfect files with other extensions, such as .frm, which is a name given to Wordperfect form files.
In order to make Quick Look recognize the .frm file type, control-click on the OpenOffice.org.app and select Show Package Contents from the pop-up menu. In the Contents folder, double-click the Info.plist file (assuming you have XCode installed). Add a new child under the Exported Type UTIs key. Enter the following information (some of the keys will be there by default, others you will need to enter manually):
Save Info.plist, open a Terminal window, and type touch /Applications/OpenOffice.org.app/. Your .frm Wordperfect files should now be previewable in Quick Look. Implemented on 10.6.2. (This is an extension of this older hint.)
In order to make Quick Look recognize the .frm file type, control-click on the OpenOffice.org.app and select Show Package Contents from the pop-up menu. In the Contents folder, double-click the Info.plist file (assuming you have XCode installed). Add a new child under the Exported Type UTIs key. Enter the following information (some of the keys will be there by default, others you will need to enter manually):
- Conforms to UTIs (array)
- Item 0 (string): com.corel.wordperfect.doc
- Identifier (string): com.corel.wordperfect.frm
- Equivalent Types (array)
- public.mime-type (array)
- Item 0 (string): application/vnd.sun.xml.writer
- public.filename-extension (array)
- Item 0 (string): frm
- public.mime-type (array)
<dict> <key>UTTypeConformsTo</key> <array> <string>com.corel.wordperfect.doc</string> </array> <key>UTTypeIdentifier</key> <string>com.corel.wordperfect.frm</string> <key>UTTypeTagSpecification</key> <dict> <key>public.mime-type</key> <array> <string>application/vnd.sun.xml.writer</string> </array> <key>public.filename-extension</key> <array> <string>frm</string> </array> </dict> </dict>
•
[6,867 views]
