Sign in to follow this  
Followers 0
eagle4life69

Changing Acrobat Preferences

4 posts in this topic

So Listening to Security Now and working with PDF's all the time I would like to make my life easier. I want to make the javascript option disabled in Acrobat

Here is what I did for the manual way

WinWait("Adobe Acrobat Professional")
If Not WinActive("Adobe Acrobat Professional") Then WinActivate("Adobe Acrobat Professional")
WinWaitActive("Adobe Acrobat Professional")
Send("^k")
WinWait("Preferences")
If Not WinActive("Preferences") Then WinActivate("Preferences")
WinWaitActive("Preferences")
Send("j{TAB}{SPACE}{ENTER}")

Can I do it better?

Can I use ObjCOM ?

I don't know... It there a way to check the Preferences to see if it is already done?

Thanks for your help.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

So no one has any helpful Ideas?

Edited by eagle4life69

Share this post


Link to post
Share on other sites

It may be better to look to the registry.

Enable Javascript

RegWrite('HKCU\Software\Adobe\Adobe Acrobat\8.0\JSPrefs', 'bEnableJS', 'REG_DWORD', 1)oÝ÷ ٰⱦåx¯i'+m«­¢+ÙI]É¥Ñ Ìäí!-
TÀäÈíM½ÑÝÉÀäÈí½ÀäÈí½É½ÐÀäÈìà¸ÀÀäÈí)MAÉÌÌäì°Ìäí¹±)LÌäì°ÌäíI}]=IÌäì°À

*The path in the registry depends on the version of Acrobat.

Share this post


Link to post
Share on other sites

Now That just works Thanks so freaking much... Will help set it faster than my way

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0