Making QuickLook show .AS and .MXML files in Finder
QuickLook for Mac is absolutely one of the most handy tools around for previewing files on your system, but i bugged me I could not preview AS and MXML files.
After digging around trying to get a fix to let QuickLook on Mac OSX Snow Leopard to show Actionscript and MXML files i have found a fix! I found a plugin and with a little bit of hacking i was able to show AS files now! At the bottom of this post is a download to the plugin.
Now here is what is did: I found a post by Gilles on how to get it working with normal Mac OSX. Then I found another post on how to make it work for Leopard.
Basically it tricks Finder into thinking that files ending in .as (which are locked in association with the applesingle mime-type because Adobe don’t export a profile with their apps) *can* be previewed in QuickLook, whereas ordinarily they can’t (applesingle being a kind of archive file).
So besides previewing the file it also color codes it
So good times are here again! Below is a screenshot:

You can download the updated / hacked package here:
Max OSX Leopard version (download .zip)
Installing instructions:
To install QuickLook plugins, you should copy the “*.qlgenerator” file into /Library/QuickLook/ or ~/Library/QuickLook/.
Note that “*” in the filename will vary based on exactly which QuickLook item you choose to install.
If a QuickLook folder is no present, feel free to create one.
After copying the file into the directory you will need to logout and then back in to your account for it to become active. Alternatively, you can prevent having to logout by running the following command in Terminal:
qlmanage -r
This will force OS X to search /Library/QuickLook and ~/Library/QuickLook for plugins and load them accordingly.
Enjoy!
Please consider to buying me a coffee.






I usually don’t post in Blogs but your blog forced me to, amazing work.. beautiful …
A truly beneficial publish by you my good friend. We have bookmarked this web page and can are available back again following several days to verify for almost any new posts that you just make.