I play with QuickLook generators in OS X, and it looks like you cannot override the default folder preview, although you probably could have until you upgraded to SnowLeopard .
I tested it with my simple QuickLook generator using qlmanage, and it is really disabled:
> qlmanage -d -g /Users/martin/Library/QuickLook/quicklooktest.qlgenerator -c public.folder -p /Users/martin/Library/QuickLook/
Testing Quick Look preview with files:
/Users/martin/Library/QuickLook/quicklooktest.qlgenerator
/Users/martin/Library/QuickLook/
- force using content type UTI: public.folder
[ERROR] Can't get plugin bundle info at file:///Applications/Contents/Library/QuickLook/QuickLookPlugin.qlgenerator/
[WARNING] Generators for folders are forbidden - ignoring <QLGenerator /Users/martin/Library/QuickLook/quicklooktest.qlgenerator>
2014-01-03 13:00:46.308 qlmanage[8687:507] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x9523, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2014-01-03 13:00:46.308 qlmanage[8687:507] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x3f4b, name = 'com.apple.CFPasteboardClient'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2014-01-03 13:00:46.309 qlmanage[8687:507] Failed to allocate communication port for com.apple.CFPasteboardClient; this is likely due to sandbox restrictions
[WARNING] Generators for folders are forbidden - ignoring <QLGenerator /Users/martin/Library/QuickLook/quicklooktest.qlgenerator>
It says [WARNING] Generators for folders are forbidden. Is it permanent? Can I somehow allow this?
source
share