SS 4.0.4 applescript not working

martinorob
edited July 2016 in SecuritySpy
i'm trying to do this:

tell application "SecuritySpy"
arm MotionCapture
end tell

(arm all camera with Motion Capture)

but nothing happen.

What is wrong?

Thanks

Comments

  • Try this:

    tell application "SecuritySpy"
    arm mode MotionCapture
    end tell
  • MODE!!!!

    thanks Cali, that worked!
  • is there a way to activate MotionCapture and Action in the same time?

    example:
    tell application "SecuritySpy"
    arm mode MotionCapture & Action
    end tell

    Thanks
  • you would likely just do it as a second line below "arm mode MotionCapture"
    arm mode Action
    end tell

    (I haven't tested this - on my to do list for this upcoming weekend is to create some re-arm scripts)
  • yes okay... this is my actual situation...