This is wat I am trying to do: save an captured image from an ip camera in a directory of my mac mini and overwrite it everytime the trigger goes off.
I use the following Applescript:
tell application "SecuritySpy"
capture image camera number 0 as "/Users/XXXX/Pictures/voortuin.jpg" with overwrite
end tell
The firts time it save the file. But the second time it does not save a new file. The Indigo event log shows:
Cynical SecuritySpy Error Camera X 90, -48 Error creating an image file.
Any suggestions what it could be?