Sorry for this question which must have been answered 1000 times but I have looked all over the forum and looked in applescripts examples and have not found the correct answer
I have defined a variable in Indigo: HomeSecOn ( false)
I am using
using terms from application "Indigo"
on receive security event of eventType with code devID
if eventType is sec_ArmAway_min then
log "Securité On " & devID using type "Security Alert"
end if
continue receive security event of eventType with code devID
end receive security event
end using terms from
This works fine but
How and where in this script can I change the value HomeSecOn to True
Thanks for help