rename files in a batch operation - RealWorld forums
rename files in a batch operation - RealWorld forums
RealWorld Graphics logo    
Log-in or register.   
IndexSoftwareGalleryTutorialsForumsUsers

Software support
Graphic design
3D graphics
Images
Icons
Using graphics
Non-English
General chat
Links
I wish there were...

Select background

What about ICL files?

Forum index » Graphic design » Images » rename files in a batch operation
Evelyne
on October 1st 2009

Dear All,

I just wanted to share this nice (part of a) batch operation that can be used to rename the pictures when saving them in a batch operation.

Thanks to Vlasta for his very kind help.

Use the JavaScript operation instead of Batch - Save Result.

Then the following code must be used:

Configuration:

Configuration.AddEditBox("name", "Name", "Base of file name.",
Configuration.GetValueOrDefault("name", "_name_"));

Execution:

var save = Operation.Create("Batch - Save Result");
save.OutputPath = "%FOLDER%\\modified\\" Configuration.GetValue("name") "-%INDEX%.%EXT%";
Operation.Execute(save, Document, Context);

Evelyne

sixλxis
on February 19th

Might be useful... ;-)

Page views: 232       Posts: 2      
You cannot reply to this topic.

Copyright © 2005-2010 RealWorld Graphics. Contact: info@rw-designer.com.