save folder

I have a targeted folder for saving.

for example the user chooses C:/destop/renders/image_.jpeg

which that is then stored in a variable such as SaveLocation

SaveLocation = C:/destop/renders/image_.jpeg

Now how can I make it so when the images are rendered it inserts the frame number incrementally so the result is

image_00.jpeg (C:/destop/renders/image_00.jpeg)
image_01.jpeg (C:/destop/renders/image_01.jpeg)
image_02.jpeg (C:/destop/renders/image_02.jpeg)
image_03.jpeg (C:/destop/renders/image_03.jpeg)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
br0t's picture

Cant you just add the number

Cant you just add the number to the string?

Never get low & slow & out of ideas

JokerMartini's picture

yeah

that is exactly what i ended up doing. check it out.

pathInfo = filterString my_path "."
 
pathPrefix = pathpathInfo info[1]
fileExtension = pathpathInfo info[2]
finalFileName = pathPrefix  + (frame_number as string) + "." + fileExtension  

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.