hi guys I have a problem with this script Im trying to make a script to act as a trigger to launch my acrobat batch process automatically everything works great but at the last step when acrobat ask a confirmation to execute the script I have problems telling the pop up windows to make a click on the OK button to launch the process here is the code please if some one have any idea
tell application "Adobe Acrobat Professional"
activate
end tell
tell application "System Events"
tell process "Acrobat"
tell menu bar 1 -- menu bar
tell menu bar item "Advanced"
tell menu "Advanced"
tell menu item "Document Processing"
tell menu "Document Processing"
click menu item "Batch Processing..."
tell application "System Events"
tell window "Batch Sequences" of process "Acrobat"
keystroke tab
keystroke (ASCII character 30) -- Up arrow
tell button -2 to perform "index_pdf"
click button -2
end tell
delay 2
tell window "JavaScript Editor"
click button "OK"
end tell
end tell
end tell
end tell
end tell
the last windows confirmation is the javascript Editor do you know how how to disable this or to pass this windows
Thanks
tell application "Adobe Acrobat Professional"
activate
end tell
tell application "System Events"
tell process "Acrobat"
tell menu bar 1 -- menu bar
tell menu bar item "Advanced"
tell menu "Advanced"
tell menu item "Document Processing"
tell menu "Document Processing"
click menu item "Batch Processing..."
tell application "System Events"
tell window "Batch Sequences" of process "Acrobat"
keystroke tab
keystroke (ASCII character 30) -- Up arrow
tell button -2 to perform "index_pdf"
click button -2
end tell
delay 2
tell window "JavaScript Editor"
click button "OK"
end tell
end tell
end tell
end tell
end tell
the last windows confirmation is the javascript Editor do you know how how to disable this or to pass this windows
Thanks