5

According to this question and answers it is possible to view other file types as text in preview window in Windows 7.

Now I have a related case: I would like to preview AI (Illustrator) files in the preview window. Since AI files are embedded inside a PDF file, if I change the file extension to PDF, it previews nicely. It seems to me that it should be possible to register AI to use the same handler.

enter image description here

Image 1: Time capture showing how same file previews as PDF but not AI

I tried blindly setting Content Type and PerceivedType with no success even after doing a low-effort search on MSDN for a few weeks. So if anybody knows:

  • How do I figure out what handler I should use?
  • How do I register that handler for use?

However, bear in mind that I want the AI to remain for all other purposes a separate format from PDF.

joojaa
  • 328
  • 2
  • 11

1 Answers1

2

Try copy same values that is into:

\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pdf\*

For example:

\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ai\

(default) = AcroExch.Document
Content Type = application/pdf

\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ai\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}\

(default) = {49400A7C-81A8-4F52-8CCE-D54739EE87EC}

Works fine on my PC.

oldmud0
  • 4,312
  • 3
  • 26
  • 45