Page 1 of 1

Save As via code

Posted: Mon Aug 17, 2009 11:33 am
by honyk
Hello,

is there any way how to save current document under different name via api? I am doing some operations and at the end I want to save document into different location.

Jan

Re: Save As via code

Posted: Mon Aug 17, 2009 11:58 am
by sorin_ristache
Hello,

In the current version only a save action is available: authorAccess.getEditorAccess().save(). You should create a copy of the file with the new name, process the new file by reading it from disk as any other file and after that open it in Author. The result is the same.


Regards,
Sorin