Has anyone a script to find and change text in a pdf?
this is what I already have
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.
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