Page 1 of 1

AppleScripts are not working after upgrade

PostPosted: Sun Jul 02, 2017 10:19 am
by bmcgowan13
I'm wondering is I missed something. I was able to use my very basic knowledge and come up with an Apple Script to use the automated email from the alarm company to then use my Indigo to shut off all the lights and fans, etc.

It stopped working after the upgrade and I'm just now trying to sort it out.

I assume it has something to do with the new location of my Indigo 7 but I can't sort it out...I've tried poking around here for about an hour but it seems like my stuff "should" work..

Any obvious thoughts?

Here's the script:
tell application "IndigoServer"
--This is the action
set value of variable "AlarmSetStay" to "False" as boolean
set value of variable "AlarmSetAway" to "True" as boolean

say "The security alarm is armed Away"

execute group "Turn Off Downstairs Lights & Fans"
execute group "Turn Off Upstairs Lights & Fans"
execute group "SONOS STOP All"
if value of variable "isDaylight" is "False" then
send insteon group "Turn on Nightime Lights"
end if
end tell



The error message is :error "IndigoServer got an error: Application isn’t running." number -600

Re: AppleScripts are not working after upgrade

PostPosted: Sun Jul 02, 2017 12:16 pm
by jay (support)
Check this post for things you might can do to solve the problem.

Our best recommendation is to convert your scripts to Python since AppleScript support will eventually be deprecated.

Re: AppleScripts are not working after upgrade

PostPosted: Sun Jul 02, 2017 12:33 pm
by bmcgowan13
Once again---thanks for such a speedy reply.

I honestly searched the fourm for the answer-but my seach did not come up with this post.

I stopped--and restarted the server and that works.

Thanks so much...