Same for me since Monterey 12.3
Since this last upgrade i have the same error (with the app name corresponding to the files in selection)
Try this simple code with selection of files in Finder :
tell application "Finder"
set myTest to selection
repeat with itemTest in myTest
open itemTest
end repeat
end tell
Topic:
App & System Services
SubTopic:
Automation & Scripting
Tags: