This content has been marked as final. Show 12 replies
There is an app.viewerVersion and and app.viewerType you can use.
Actually Gene, I believe he was referring to the PDF version, not the version of the viewer application. Unfortunately I do not believe there is a way to retrieve the PDF version via the JS APIs. This can be done by a plug-in.
Ahhh, I see.
Is there a particular plug-in you are talking about? Where can I get it?
Uh, no, I meant the APIs available to plug-ins can find this information. You would have to write the plug-in.
I have never done that before. Where would I start?
You'd start by learning C or C++, working with it for a few months,
then begin on the thousands of pages of plug-in SDK information. You'd
also need to figure out how to do interapplication communication.
But first: do you really need to do this. What is running the script?
Is it a Visual Basic program, for example?
Its a batch process in Acrobat 7 Pro.
All that other stuff sounds like much more work then its worth.
Is there not any easier way?
This would be quite a challenging plug-in for a beginner. You'd have
to figure out how to register "AVCommands" which allow a plug-in to
add new items to the batch commands.
But even them... I don't see a way in a batch process to make
I think maybe an external program to separate PDFs into two
directories based on the PDF version would be a much more feasible
Can you not have your script read the first line of the PDF file head?
I haven't tested this, but it should work. There are a couple of restrictions you'll need to know about though. This will require a folder-level script and would also be limited to work only in Acrobat, or in Reader if you have an Adobe LiveCycle Reader Extensions server to extend the usage rights on the form.