Iv'e been trying to create a script that "saves as" the project in the same name as the video in the project panel using an onClick event.
as the first step of writing the code i tried simply to save a project in a specified path like so:
upon running the script I got this errors message[image attached]
I googled it and most result says that it has something to do with permission to write to the hard drive. I changed the permissions as suggested and got the same error.
additionally I tried running the script:
1. from Extendscript/Visual Studio Code
2. to Different AE versions
3. on Different PC
and still no luck.
Hope someone here can help me fix this.
Its my first post here and generally I'm pretty new at scripting so sorry in advance if something went wrong with my post.