I'm trying this plugin out but it appears that the ' Example 2: Conditional processing based on phone number' is not working correctly. It will announce the items with a flag=1 (this is the custom inputs) But if it is an unknown number nothing happens :
If flag = 0 then
'Couldn't find name in list, using name from CID box
hs.Speak "Call from " & s_ncid_name
end if
Here is the code:
'--------------------------------------------
' Example 2: Conditional processing based on
' phone number
'--------------------------------------------
Select Case s_ncid_number
Case "xxxxxxxxx"
hs.Speak "Call from Bryan's Cellphone"
flag = 1
If flag = 0 then
'Couldn't find name in list, using name from CID box
hs.Speak "Call from " & s_ncid_name
end if
End Select
If flag = 0 then
'Couldn't find name in list, using name from CID box
hs.Speak "Call from " & s_ncid_name
end if
Here is the code:
'--------------------------------------------
' Example 2: Conditional processing based on
' phone number
'--------------------------------------------
Select Case s_ncid_number
Case "xxxxxxxxx"
hs.Speak "Call from Bryan's Cellphone"
flag = 1
If flag = 0 then
'Couldn't find name in list, using name from CID box
hs.Speak "Call from " & s_ncid_name
end if
End Select
Comment