Skip to main content
Inspiring
August 3, 2024
Answered

Get project file path in after effects by scripting

  • August 3, 2024
  • 1 reply
  • 735 views

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

 

 

This topic has been closed for replies.
Correct answer Airweb_AE

Make sure your project is saved, otherwise, it return:

 

app.project.file.fsName
// TypeError: null is not an object

 

 

1 reply

Airweb_AECorrect answer
Legend
August 3, 2024

Make sure your project is saved, otherwise, it return:

 

app.project.file.fsName
// TypeError: null is not an object

 

 

Inspiring
August 3, 2024

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

Legend
August 3, 2024

Maybe you're using :

app.project.file

instead of:

app.project.file.fsName