HELP: Startup script does not recognize .JSX file
I have a simple start up script which reads "afterNew" perform a .JSX script which is located in the scripts panel
tell application "Adobe InDesign 2025"
set myEventNames to {"afterNew"}
repeat with myEventName in myEventNames
make event listener with properties {event type:myEventName, handler:"Macintosh HD:Applications:Adobe InDesign 2025:Scripts:Scripts Panel:daffy.jsx"}
end repeat
end tellbut i get an error?? the path is correct

not sure why the script isnr seeing the JSX file. has the scripting functionality changed?? i have used similar start up scripts in the past with out issue.
maybe there is a better way to write the event script so that it performs the .JSX without "pointing" it to nested scripts folder??
daffy.JSX sets the "Measurement Units" to "Inches".
var d = app.documents
for (var i = 0; i < d.length; i++){
d[i].viewPreferences.horizontalMeasurementUnits = MeasurementUnits.INCHES;
d[i].viewPreferences.verticalMeasurementUnits = MeasurementUnits.INCHES;
};
app.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.INCHES;
app.viewPreferences.verticalMeasurementUnits = MeasurementUnits.INCHES;