v4.2.12 error "SecuritySpy got an error: The handler some object is not defined." number -1717
  • I've recently upgraded by parents v4 installation and now my AppleScript fails when it attempts to take an image:

    set theFile to "/Users/heptonstall/Scripts/image.jpg"
    tell application "SecuritySpy" to capture image as theFile camera number 1

    The error I receive is:

    error "SecuritySpy got an error: The handler some object is not defined." number -1717

    I could downgrade but I can't remember which version I was on before, v4.2.8?
    http://www.heptonstall.info
  • I've just tested this here and can't find an issue - your script simply works for me.

    Try removing all other versions of SecuritySpy from your Mac.

    Then try a Mac reboot.

    Also make sure that the camera number (1) is actually correct (you can see camera numbers in the Camera Info window if you have enabled this column).

    Please let me know if you continue to have problems with this.
  • Thanks Ben. I’ll try a reboot next time I’m over at my parents.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!