Copy link to clipboard
Copied
Hi
Why "app.project.file" is working with after effects 2023 but not for 2024 as it gives me null to a saved project??
Thanks
Make sure your project is saved, otherwise, it return:
app.project.file.fsName
// TypeError: null is not an object
Copy link to clipboard
Copied
Make sure your project is saved, otherwise, it return:
app.project.file.fsName
// TypeError: null is not an object
Copy link to clipboard
Copied
i'm testing the same script on version 2023 and 2024 both of them has saved project is opened. script works for 2023 but not for 2024
Copy link to clipboard
Copied
Maybe you're using :
app.project.fileinstead of:
app.project.file.fsName
Copy link to clipboard
Copied
Thank you so much; that helped me a lot.
with and without .fsName work, but it was my mistake. The project I opened in After Effects 2024 was originally created in After Effects 2023, so I noticed '(converted)' in the title bar. It hadn't been saved and had no file path, which caused the issue for me.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more