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
Select background

Is the speed of this web adequate?

Windows Vista icons

Find out how Vista icons differ from XP icons.

See how RealWorld Icon Editor handles Vista icons.

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

Page views: 55       Posts: 1      
You cannot reply to this topic.

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