I have a script named PhonCall.vbs with a property of CIDreceived that is populated with the actual Caller ID from my Stargate.
So how would I code this so that on a specific string match HomeSeer would speak a specific string?
Can I just do this:
Sub Main()
If CIDreceived = '555-123-4567 Mom' then
hs.speak "Mother is calling", TRUE
End Sub
(I know, I know! I am new to this HS scripting. I just need a little syntax shove to get me started. Be gentle with me....)
So how would I code this so that on a specific string match HomeSeer would speak a specific string?
Can I just do this:
Sub Main()
If CIDreceived = '555-123-4567 Mom' then
hs.speak "Mother is calling", TRUE
End Sub
(I know, I know! I am new to this HS scripting. I just need a little syntax shove to get me started. Be gentle with me....)
Comment