I use AppleScript to launch Acrobat and run a preflight. Running this a script creates an "Not specfied EvnetHandler Error".
I guess it come from resolving the filename and path. May somebody nows the "way" to define the preflight profile directly in the script.
on run this_file
-- this sub-routine processes files
tell application "Finder"
set myPath to path to me
with timeout of 1 second
tell application "Adobe Acrobat Pro"
«event PRFLPRFL» this_item given «class PATH»:myPath
Retrieving data ...