sagitaz wrote:1) updates contacts every minute
do you use plugin XEvent for this ? or another method ?
i've a little bug with the import of about variable. when the user are special caracteres, the database is bugest. for the moment i have clear the lines in the vbs.
I use XEvent, that's the only way from vbs
I try to filter special chars in script:
(those are most of the characters used in East/Central/South Europe):
Function Clean(TexStr)
Dim TexStr1, TexStr2
TexStr1 = Replace(TexStr, "ć", "c", 1, -1, 1)
TexStr2 = Replace(TexStr1, "š", "s", 1, -1, 1)
TexStr1 = Replace(TexStr2, "č", "c", 1, -1, 1)
TexStr2 = Replace(TexStr1, "ž", "z", 1, -1, 1)
TexStr1 = Replace(TexStr2, "ě", "e", 1, -1, 1)
TexStr2 = Replace(TexStr1, "ř", "r", 1, -1, 1)
TexStr1 = Replace(TexStr2, "ý", "y", 1, -1, 1)
TexStr2 = Replace(TexStr1, "á", "a", 1, -1, 1)
TexStr1 = Replace(TexStr2, "í", "i", 1, -1, 1)
TexStr2 = Replace(TexStr1, "é", "e", 1, -1, 1)
TexStr1 = Replace(TexStr2, "ú", "u", 1, -1, 1)
TexStr2 = Replace(TexStr1, "ň", "n", 1, -1, 1)
TexStr2 = Replace(TexStr1, "&", "and", 1, -1, 1)
Clean=TexStr2
End Function