Acrobat is an interactive tool and not suitable for doing thousands of anything. But with patience, and probably automatically restarting Acrobat every 50 or so, you might succeed. Now, what is the UI task you are trying to automate? Details matter because Acrobat can write several different types of XML. Please describe exactly what you would do manually.