BUT, I recently purchased some international minutes, and realized that international calls DO NOT WORK!!! I start by dialing '011886' and then the phone number of the person I'm trying to call, but the call fails. I later checked the softphone to discover that the AUTOit Script was STILL adding my home area code... I checked the code (though I have absolutely no knowledge of stuff like this), and there doesn't seem like there should be a problem....
MY REQUEST is, if some very cool smart programmey person could SO kindly modify this code so that everything works, I would APRECIATE it so veyr much!!! Thanks so much in advance, and for reading my post.
NOTE: HEREIS THECODE I'm USING
++++CODE STARTS++++
$NewCall = True
While WinExists("magicJack")
Sleep(100)
$var = ControlGetText("magicJack", "", "Edit1")
if $NewCall And String($var) = 0 Then
$var = "" & $var
ElseIf $NewCall And String($var) = 1 Then
$var = "" & $var
EndIf
$CheckAreaCode = StringLeft($var,3)
if $NewCall And (StringLen($var) > 3 AND StringLeft($var,1) <> "1") AND StringLeft($var,1) <> "*" Then
Select
Case $CheckAreaCode = "Area Code"
Case Else
$var = "Area Code" & $var
ControlSetText("magicJack", "", "Edit1", $var )
Send("{End 1}")
EndSelect
EndIf
If StringLen($var) > 6 Then
Sleep(500)
$NewCall = False
Else
$NewCall = True
EndIf
Wend
-=-=-=-=-=-=-Jackie-=