by Schlaefer · 5y ago · 0 comments
Initially I missed QuickLook a lot after switching away from macOS, but now I haven't thought about it in years.
Aside from that, QuickLook remains one of the few examples of a generic extensible document reader in modern operating systems. The way it gains the ability to read new types of files just by virtue of the owning app’s bundle being present on the system (no installation necessary, and it goes away when you delete the app) makes so much sense, and it’s a shame that there’s no equivalent on Windows and Linux.
...were there other ones in classic operating systems? QuickTime <= 10.2 did let you install third-party components (I wrote one recently), but what else was there?
I wrote an AppleScript to convert DOCX or PPTX to TXT using qlmanage -p | textutil
Using QuickLook to turn anything to HTML:
http://hints.macworld.com/article.php?story=2010071209045151...
Using textutil to convert HTML to TXT:
https://stackoverflow.com/a/32621215
AppleScript source code: https://pastebin.com/JRbXTv8d