(Nov-15-2020, 02:17 PM)jefsummers Wrote: You need to put your button.wait_for_press and subsequent code in a loop. For starters, I suggest addingwhile True:at line 19 and indent all of your code after that one level. You will need to ctrl-C to get out of the program, but once it prints Motioneye started it will go back to the top of the loop and wait for press again.
Sorta works, however when i press the button again it runs though the loop but it overwrites the same image? but when i run it without the loop it saves to a new image..
EDIT: it creates a new save for the image if i start and stop the program, but if i dont stop the program it overwrites the current image.