SecuritySpy AppleScript - Overwrite File Error

This subforum has been locked since we no longer support AppleScript.
Albatros
Posts: 132
Joined: Sat Feb 07, 2015 4:52 am

SecuritySpy AppleScript - Overwrite File Error

Post by Albatros »

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?

Return to “AppleScript Scripting”