Page 1 of 1
.Doc format does not work with Quicklook
Posted: 2009-06-11 05:04:22
by Pelao
Hi
There are times when I must save in the .doc format. When I do so, the Quicklook feature in OS X does not function with those documents - it works fine with .rtf etc. It also works fine if the document was created in MS Word.
Has anyone else experienced this? Can it be fixed?
Re: .Doc format does not work with Quicklook
Posted: 2009-06-11 05:58:53
by Hamid
Files saved as doc by NWP are really rtf files with doc extension.
Therefore, to regain QuickLookability save them as rtf or add rtf extension.
Re: .Doc format does not work with Quicklook
Posted: 2009-06-11 06:38:21
by Pelao
Hi Hamid.
Thanks - I will do so.
Re: .Doc format does not work with Quicklook
Posted: 2009-06-11 09:33:53
by Kino
Probably you have good reasons to use doc as file extension. So I made a little utility for quicklooking such files.
http://www2.odn.ne.jp/alt-quinon/files/ ... oc_app.zip
Download it and put it somewhere in one of Applications directories.
There are three ways to get Quicklook of such a doc file with it...
1. Select it in the Finder and choose
Open with:DropQuickLookNWDoc.app from the contextual menu (right-click);
2. Select it in the Finder and use
Services:Nisus Writer Pro:QuickLook NW doc file;
3. Drag and drop the file icon onto
DropQuickLookNWDoc.app.
- To enable the Services menu command, you have to log out and log back in (or restart your Mac).
- This is a PPC app and I don't have an Intel Mac. I tend to think Rosetta is clever enough ;-)
- And, of course, it does not work in Tiger and earlier.
Code: Select all
#!/bin/sh
# EXTENSIONS : "doc"
# ROLE : Viewer
# SERVICEMENU : Nisus Writer Pro/QuickLook NW doc file
FILETYPE=`/usr/bin/file -b --mime "$1"`
if [ "${FILETYPE}" = "text/rtf" ]; then
/usr/bin/qlmanage -p -c public.rtf "$1"
elif [ "${FILETYPE}" = "application/msword" ]; then
/usr/bin/qlmanage -p -c com.microsoft.word.doc "$1"
fi
Re: .Doc format does not work with Quicklook
Posted: 2009-06-11 15:49:40
by Pelao
Whoa Kino!
That's so cool. Thank you.
To the Nisus dudes: the reality is, this should just work, without any special effort.
Re: .Doc format does not work with Quicklook
Posted: 2009-06-12 18:28:49
by dshan
Pelao wrote:Whoa Kino!
That's so cool. Thank you.
To the Nisus dudes: the reality is, this should just work, without any special effort.
If you want it to just work then don't File>Save as...>MS Word format the file, do a File>Export as...> MS Word Format (binary). As the option suggests this will convert the Nisus RTF data into MS Word binary format rather than just RTF with a .doc file extension as "Save as" does. Quick Look will work on it fine now.
For the first time Nisus 1.2 allows you to create real binary Word files using the Open Office format translator via the Export command, as well as maintaining the old method from the Save as dialog.