SecuritySpy Script Help

Posted on
Thu Jan 31, 2013 11:40 pm
ckeyes888 offline
Posts: 2425
Joined: Nov 26, 2009
Location: Kalispell, MT

SecuritySpy Script Help

I have this simple script I run to save SecuritySpy images to a local folder.
Works fine but I hoping there's a better way to end it's process than just telling
SS to quit as that very often leaves a few of the image files missing.

I see that when I run the script from the Script Editor app and exit it by
hitting "Stop" it always preserves the last images that were written.

Any ideas on stopping the script before I quit SS greatly appreciated.

Thanks,

Carl

Code: Select all
tell application "SecuritySpy"
   launch
end tell
delay 6

repeat
   tell application "SecuritySpy"
      capture image camera number 0 as "/Users/TV/Sites/ss/1.jpg" with overwrite
      delay 0.3
      capture image camera number 1 as "/Users/TV/Sites/ss/2.jpg" with overwrite
      delay 0.3
      capture image camera number 2 as "/Users/TV/Sites/ss/3.jpg" with overwrite
      delay 0.3
      capture image camera number 3 as "/Users/TV/Sites/ss/4.jpg" with overwrite
      delay 0.3
      
      
      
   end tell
   
   delay 1
end repeat

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 17 guests