Hello all! I was recently reviewing the "A Way So you Don't Have to Dial your Own Area Code" post earlier, LOCATED HERE: "http://www.phoneservicesupport.com/a-wa ... 85-15.html". I was using 'insertdisk''s code, with no problems at all...
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.
(Sorry for reposting, but the original was in the wrong section... and I on't know how to remove it. Can someone teach me?)
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-=
7 Digit Local Calling
Moderators: Bill Smith, Pilot
-
jackiehsu97
- MagicJack Contributor
- Posts: 66
- Joined: Sun Jan 17, 2010 6:14 pm
- Location: Florida
- Contact:
7 Digit Local Calling
Thank you for stopping by, I hope I did a good job at addressing your concerns. For further concerns, please go to http://www.magicjack.com/techchat for a live representative. Thanks again!