tell application "DEVONthink Pro"
set sel to (get records of database "inbox")
repeat with s in sel
if type of s is PDF document and word count of s is 0 then
ocr s
end if
end repeat
end tell
that results in an error
DEVONthink Pro got an error: Some parameter is missing for ocr.
what do i have to change to make this work? all i want to do is convert a PDF to PDF+text. basically what “data > convert > to searchable PDF” does.