bc I have been constantly annoyed that AHK's file content hasn't been displayed within Windows Explorers preview pane I asked my ol' pal Google for advice.
sHe showed up with this: https://kickthatcomputer.wordpress.com/ ... xtensions/
So I started AHK rocket sciencing to end up with this coding masterpiece ... that you have to use @ your own risk
Spoiler
Another option, taken from [here] ...Perceived types, defined as PerceivedType values, are similar to file types except that they refer to broad categories of file format types rather than specific file types. For example, image, text, audio, and compressed are perceived types. File types (generally public file types) can be assigned a perceived type, and should always be assigned one whenever there is one that is appropriate. For example, the image file types .bmp, .png, .jpg, and .gif are also of perceived type image.
The default perceived types are as follows:
https://msdn.microsoft.com/de-de/librar ... eivedtypes
- Folder
Text
Image
Audio
Video
Compressed
Document
System
Application
Gamemedia
Contacts
To view HTML files as text in the preview pane use this registry patch (save with a .reg extension and double-click):
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\htmlfile\shellex\{8895B1C6-B41F-4C1C-A562-0D564250836F}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"
Keep on codingBonus: preview any file type without a preview handler as plain text:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shellex\{8895B1C6-B41F-4C1C-A562-0D564250836F}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"