We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Moving Files Between Folders
Page Index Toggle Pages: 1
Moving Files Between Folders? (Read 574 times)
Moving Files Between Folders?
Oct 22nd, 2007, 12:39am
 
This is my first question on processing.org.  I am making a automated animator that will help me with my stop motion work.  I have written a program that will record a frame every sixty seconds using saveFrame().  But saveFrame() saves it into that particular sketch's folder, and I need it saved into the sketch's "data" folder because I want to be able to play back that particular series of saved frames in real time.  From what I can tell the images must be in the data folder in order to be loaded and played back in a loop.  I don't want to see every frame, just the one's I've saved.  I'd like to run it all in this one program, but if there is an easier way, please let me know.  I hope this question is understandable.

Thanks,
Dustin Grella
www.dustingrella.com/animation
Re: Moving Files Between Folders?
Reply #1 - Oct 22nd, 2007, 12:46am
 
I would assume that you could just do saveFrame("data/image####.jpg"); to save it into the data folder.
Re: Moving Files Between Folders?
Reply #2 - Oct 22nd, 2007, 1:20am
 
fifth item under "common problems" in troubleshooting:
http://processing.org/reference/troubleshooting/#issues
Re: Moving Files Between Folders?
Reply #3 - Oct 22nd, 2007, 4:55am
 
Wow!  Two responses in under an hour.  Thanks guys.  I put everything in the data folder and I just read the troubleshooting page.  Hopefully I won't have any more questions...

d
Page Index Toggle Pages: 1