magicJack  and magicJack Plus Support, Reviews, FAQs and Hacks Forum Index

magicJack and magicJack Plus Support, Reviews, FAQs and Hacks


magicJack and magicJack Plus Unofficial Technical Support. Your Magic Jack and Magic Jack Plus phone service information resource
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

7- Digit Local Area Calling AutoIT Code...



 
Post new topic   Reply to topic    magicJack and magicJack Plus Support, Reviews, FAQs and Hacks Forum Index -> magicJack Tips, Tricks, and Hacks
View previous topic :: View next topic  

Do you use magicJack's International Calling thingy-majiggey?
Yeah
0%
 0%  [ 0 ]
Nein
100%
 100%  [ 5 ]
Total Votes : 5

Author Message
jackiehsu97
MagicJack Contributor


Joined: 17 Jan 2010
Posts: 66
Location: Florida

PostPosted: Thu Mar 18, 2010 3:52 pm    Post subject: 7- Digit Local Area Calling AutoIT Code... Reply with quote

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-way-so-you-don-t-have-to-dial-your-own-area-code-each-time-t7085-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.

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-= Very Happy Smile Smile Shocked Very Happy
Back to top
View user's profile Send private message Visit poster's website
jackiehsu97
MagicJack Contributor


Joined: 17 Jan 2010
Posts: 66
Location: Florida

PostPosted: Thu Mar 18, 2010 5:12 pm    Post subject: Re: 7- Digit Local Area Calling AutoIT Code... Reply with quote

NOTE TOMAGICAL MODERATOR PEOPLE WHO MONITOR THIS FORUM. PLEASE MOVE THIS POST TO TECHNICAL SUPPORT
jackiehsu97 wrote:
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-way-so-you-don-t-have-to-dial-your-own-area-code-each-time-t7085-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.

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-= Very Happy Smile Smile Shocked Very Happy
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    magicJack and magicJack Plus Support, Reviews, FAQs and Hacks Forum Index -> magicJack Tips, Tricks, and Hacks All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB Turbo Extended Edition © 2010, phpBB Group