6
2
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.
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.
This is genius - I have the same problem. If I can solve it, I will let you know. – dgo – 2016-11-08T16:40:01.470
From user An a Student: "PDF-document" is not just a "text". PDF-preview is an image (or interactive Reader-like child-window) that have been rendered by dll-library of Adobe. so ... You have got a couple of AI files. Some of them have PDF inside. You would like to view that files as PDF in the preview. Right? It seems registry-editing could be not enough. Looks like you have to write your own dll-file with handler. You can use Delphi or something. Can you give me some example-files of "* .ai"? I can try to help you.
– fixer1234 – 2016-12-20T04:15:44.407No its the other way around the ai specific data is inside a PDF. All of them are PDF files as the native ai is a PDF. @fixer1234 but it allready works if i rename the file a PDF so the dll is already in place. All i need to do is tell that dll to also handle .ai files in addition to PDF. – joojaa – 2016-12-20T04:49:35.910