Acrobat Professional - Applescript to run a selected batch sequence

Hi All,

I have problem selecting a particular batch sequence from Acrobat Professional 8.1.7 on OS 10.5.7 thru Applescript.
I have a batch sequence called “TestSign”, I am trying to run this sequence thru Applescript.
I read thru the forum and picked up a previous code posted by StefanK. (Thanks to StefanK, see code below).

When I tried to use the below code, script doesn’t run “TestSign”. Not sure, if i am missing any steps here. Your assistance will be much appreciated.

NOTE: I have changed the button to 8, since button 8 is for “Run sequence” in acrobat professional 8.

activate application "Adobe Acrobat Professional"
tell application "System Events"
	tell process "Acrobat"
		
		click menu item "Batch Processing..." of menu 1 of menu item "Document Processing" of menu 1 of menu bar item "Advanced" of menu bar 1
		repeat until exists window "Batch Sequences"
			delay 0.5
		end repeat
		tell window "Batch Sequences"
			
			tell button 8 to perform action "TestSign"
			click button 8
			
			tell window "Run Sequence Confirmation - TestSign"
				click button "OK"
			end tell
			
		end tell
	end tell
end tell