app.project.save(file) save copy alternative?

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
Redsandro
Posts: 108
Joined: June 25th, 2008, 4:55 pm

I am looking for a way to save the current project as a copy.
The guide explains use of app.project.save(file);, but this will pass successsive user initiated saves over to the newly created file.

Is there a way to save the current project to a script specified copy, and keep successive user initiated saves being applied to the currently opened file?
avi + m2t -> Vdub + DGIndex -> AE CS3 -> x264 -> Hell On Earth :mrgreen:
Mylenium
Posts: 139
Joined: July 20th, 2005, 12:07 am

You could just load the original project after you saved your copy...

Mylenium
[Pour Mylène, ange sur terre]
Redsandro
Posts: 108
Joined: June 25th, 2008, 4:55 pm

That's what I'm doing now, including a mandatory save of the original project over the original filename to make sure the opened project is like it was when the script was activated.
But (and I think this is not possible) I want to save a copy, leaving the original project unsaved. So the user can mess things up and revert if he wants to.
avi + m2t -> Vdub + DGIndex -> AE CS3 -> x264 -> Hell On Earth :mrgreen:
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

Check out the save and increment script that ships with AE..

-Lloyd
Redsandro
Posts: 108
Joined: June 25th, 2008, 4:55 pm

Thanks for the tip, but I already did and it moves the 'active' project over to the incremented file name.
I'll stick with the reloading thing for now. I really think there is no 'save copy' equivalent possible.
avi + m2t -> Vdub + DGIndex -> AE CS3 -> x264 -> Hell On Earth :mrgreen:
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

no there isnt, there also isnt a way to detect whether the proj is already save which is something i wish I had for BG Renderer..
Redsandro
Posts: 108
Joined: June 25th, 2008, 4:55 pm

Too bad. But if you don't mind the project being saved, you can just save. It will hardly take a second.
avi + m2t -> Vdub + DGIndex -> AE CS3 -> x264 -> Hell On Earth :mrgreen:
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

nah, you'd be surprised.. i have some comps that take quite a bit of time to save.. but as you say, i just save it..
Post Reply