Skip to main content
Alex White
Legend
May 24, 2012
Answered

"Save as a copy" script

  • May 24, 2012
  • 1 reply
  • 5398 views

Hi everyone

I`m looking for how to make "Save as a copy" script.

All variants that I ever met (scripting guide or examples from the internet), were based on copying existing file.

And they doesn`t suit.

Why "Save as a copy ?

Because you can save you file to different directory (for example dropbox),

and your original file with undo options will stay opened (unlike the "Increment and Save").

This topic has been closed for replies.
Correct answer Alan_AEDScripts

You mean shortcut for "Save a copy" command?

In CS 5.5 presence "Save a copy" option and yes, it leaves current scene open with my undo stack.

Any thoughts how we can use it via scripts?


You can feed the command name into this....

This is not 100 percent reliable, if you do a search here or aeenhancers, but does the job in most instances...

function exectuteCommandID(theCommand){

                                        app.executeCommand(app.findMenuCommandId(theCommand));

                                        }

executeCommandID("Save A Copy or whatever is the menu command exactly.");

1 reply

Alex White
Legend
May 25, 2012

Guys, please, any hint would be really appreciated!

Alan_AEDScripts
Inspiring
May 31, 2012

In CS 5.5 there is a menu command for Save a copy....?

Leaves current scene open with your undo stack?

Alex White
Legend
May 31, 2012

You mean shortcut for "Save a copy" command?

In CS 5.5 presence "Save a copy" option and yes, it leaves current scene open with my undo stack.

Any thoughts how we can use it via scripts?