Hi @Daniel_Peterson,
Thanks for posting about this issue. I was pointed to this thread by @lasse_lauch who is experiencing this issue as well. I've moved it into our Bug reports section.
I was able to reproduce the behavior you described in After Effects 2024, but it appears to be working as expected in version 2025, even without Full Disk Access. Would you both mind giving this a try in 2025 and let me know if you continue to experience the issue with DoScriptFile?
Thanks for any further in
...