adobe acrobat pro - find and change text

Has anyone a script to find and change text in a pdf?

this is what I already have :frowning:

tell application "Finder"
	activate
	--set thisFolder to choose folder with prompt "Please choose folder containing pdf files"
	--set Filelist to files of thisFolder as alias list
	--repeat with thisFile in Filelist
	--tell application "Finder"
	--open thisFile
	--end tell
	tell application "System Events"
		tell process "AdobeAcrobat"
			tell menu bar 1
				tell menu bar item "Edit"
					tell menu "Edit"
						tell menu item "Find"
							click
							
						end tell
					end tell
				end tell
			end tell
		end tell
	end tell
	--end repeat
end tell

You should consider switching to Acrobat’s javascript to perform your search and replace. Then, you can work backwards and use Applescript to call the javascript you created.
:cool:

:frowning:

I know knotting about javascript… I am just a beginner in applescripting… :frowning:

I think I have to do all the work manually

Hi there,

What version of Acrobat are you using?
There is the option to find/replace text in Acrobat XI and DC.

As for the javascript option, apparently you can use the ‘redaction’ tool.
There are some limitations though.

HTH

I am using the newest version of acrobat, and yes indeed there is a find and replace function. But it don’t work for multiple documents and it can’t replace “all”

I have to change a date on every page of a document of 400 pages :frowning: