Applescript - Parse System Info issue

ss2016user
edited September 2016 in SecuritySpy
I'm using v4.0.6 of SS and have been trying to get the example Applescript (in the help section) under Applescript Examples (the last example on the page) working.

I haven't had any success with the example and just wanted to check that the script in that example still applies in its current form to v4.0.6.

I'm using the example script just as it is provided and trying to run it on El Capitan on the machine that is my SS server.

I'm ultimately wanting to use the systemInfo information to query the SS web server to determine if any camera is not online and then take action to correct the offline camera.

I am a newbie at using Applescript but I have enabled SecuritySpy's web server, and modified the "username:password" string in the script to match the authentication of a web server user account with full access privileges. The SS web server is working great as I access it daily from other computers on my network. Plus I have checked that the user account that I'm using has full access privileges.

Any help will be very much appreciated.

Terry

Comments

  • Not sure I said but it is the "Parse System Info" example that I am trying to get working.

    Thanks,
    Terry
  • Hi Terry,

    Yes, the example script on our SecuritySpy AppleScript Examples page does work with SecuritySpy version 4.0.6.

    What error are you getting?

    Are you using the default port of 8000 and have you enabled the HTTP web server in SecuritySpy?

    Are you sure the username and password supplied are correct, and have been added to the URL with a colon between, like this:

    http://username:password@localhost:8000/

    Do you actually have any cameras in SecuritySpy that are offline? The script will do nothing if you don't!
  • Ben,

    I managed to get your Parse System Info Applescript example working but not until I changed the password for my SS admin account to something without any special characters (looks like it requires the password to be only alphas and numbers).

    Thanks,
    Terry