AppleScripts are not working after upgrade
Posted: Sun Jul 02, 2017 10:19 am
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
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