Skip to content

Instantly share code, notes, and snippets.

@duhaime
duhaime / batchProcess.scpt
Last active May 27, 2022 02:07
Batch process files with ABBYY FineReader using AppleScript
-- specify input and output directories
set infile_directory to "/Users/doug/Desktop/inputs/"
set outfile_directory to "/Users/doug/Desktop/outputs/"
-- get the basenames of each input file
tell application "System Events"
set infile_list to files of folder infile_directory
end tell
-- process each input file