Acrobat Professional Enable commenting in Acrobat Reader

I am trying to automate turning on the ability to add comments to PDFs in Acrobat Reader. I have scripted a clumsy System Events solution to turn that option on in Acrobat Professional, but I would like to come up with a better solution. Has anyone come up with a better way to script this??

Here’s the main part of what I have so far even though I would like to ditch System Events if I can:

tell application "Adobe Acrobat 7.0 Professional"
		activate
		open this_item --this opens a single PDF file
		delay 3
		tell application "System Events"
			tell process "Acrobat"
				pick menu item "Enable for Commenting in Adobe Reader..." of menu "Comments" of menu bar item "Comments" of menu bar 1
				delay 2
				key code 36
				key code 36
				delay 1
				keystroke "r" using {command down}
			end tell
		end tell
		close front document
	end tell

Model: G5 Tower (not Intel) - Script Editor ver 2.1.1
AppleScript: Tiger
Browser: Safari 419.3
Operating System: Mac OS X (10.4)

I don’t have professional but I do have standard … is that a function that is only available in PRO ?

Yes, commenting is a tool in Professional only. But the option I am trying to automate enables commenting for that document if opened in Reader. I have scripted the creation of PDFs from Quark and would like to add at the end a step that would open the PDF in Acrobat Pro and enable commenting.

Model: G5 Tower (not Intel) - Script Editor ver 2.1.1
AppleScript: Tiger
Browser: Safari 419.3
Operating System: Mac OS X (10.4)

Gui Scripting will work in Acrobat with :


tell application process "Acrobat"

but won’t with :


tell process "Acrobat"

So enabling comments is possible with :



tell application "Adobe Acrobat Pro"
	activate
	tell application "System Events"
		tell application process "Acrobat"
			

--IN FRENCH :
click menu item "Activer la fonction de commentaires et d'analyse dans Adobe Reader..." of menu 1 of menu bar item "Commentaires" of menu bar 1

-- IN ENGLISH (I presume this is the right name for this menu...)
click menu item "Enable for Commenting and Analysis in Adobe Reader..." of menu 1 of menu bar item "Comments" of menu bar 1

			
			keystroke return
			keystroke "r" using command down
		end tell
	end tell
	close active doc -- If needed
end tell



Tested succesfully with Acrobat Pro 9.4.1 and OSX 10.5.8