Actually I ended up mistyping what I really meant.

When doing a "sendkey" and you have special characters in the string then I have UDF that I use to ensure that they pass correctly.

Code:

Function CheckString ($letters)
for $i= 1 to Len($letters)
$a = Substr($letters, $i, 1)
Select
Case $a = "+"
$a = "{+}"
Case $a = "^"
$a = "{^}"
Case $a = "~"
$a = "{~}"
Case $a = "("
$a = "{(}"
Case $a = ")"
$a = "{)}"
Case $a = "{"
$a = "{{}"
Case $a = "}"
$a = "{}}"
EndSelect
$s = $s+$a
Next
$checkstring = $s
EndFunction

_________________________
Today is the tomorrow you worried about yesterday.