Answered
Hi
I am designing forms using LiveCycle that require the user to have version 8 or above of Acrobat Reader in order for them to work correctly.
Can i assess the version they are using (app.viewerversion) then close the PDF if they are using a version older than 8?
If it is not possible to close the PDF, could I at least hide the sub-form if they are using an older version (so present user with a blank page + message)?
Any other ideas appreciated.
Thanks
Tim
Use an event that is only called once when the PDF is opened, Like DocReady.
if(app.viewerVersion < 8)
event.target.closeDoc(true);
That's it
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script