We have a custom made javascript that needs to be placed in the javascript folder for about 200 computers. The problem is that many of our computers have different versions of Adobe installed on their computer, anywhere from version 6 to version 9, some full versions and many just Reader only. We have a batch file that copies the javascript to the correct javascript folder for version 6 but if anyone has version 7-9, then of course the batch file won't work for them.
Our inclination is to have someone write a batch file to test for each version someway and copy the javascript to the appropriate version javascript folder location. The problem is that many of our folks had upgraded over the years from version 6-7-8 so older (probably unused?) versions of Acrobat folders still exist on their machine.
Should we do something related to our thoughts above or is there some place in the system (system variable, registry) that we can check to see where the 'current' javascript folder location is? All of our machines or XP.
Any and all suggestions are welcome. Our 'programming' experience is limited to DOS batch file commands though.
From within Acrobat you can it this path by running app.getPath("app","javascript") obviously you want to achieve this from outside of Acrobat...
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com