erezlevi Posted April 15, 2008 Posted April 15, 2008 hi, I have the following code that works for click-to-dial application. now when dialing a number to Title of the IP-softphone does not change and it is "Avaya IP softphone". after completing the dialing the IP-softphone Title is changing to the number that have been dialed. So if I want to hang-up the call I can't because the window title have changed and also its handle. is there a way to solve this? in order to make the call an external application is activating the "clicktodial3.exe <phone-number>" Region;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_outfile=clicktodial3.exe #AutoIt3Wrapper_UseUpx=n #EndRegion;**** Directives created by AutoIt3Wrapper_GUI **** Opt ("WinTitleMatchMode",2) $part1=$Cmdline[1] $d=WinGetHandle ("Avaya IP Softphone") if $part1="Hang" Then ControlClick ($d,"",1018,"left",1,33,10) Exit EndIf ControlSend ($d,"",32795,$part1) ControlClick ($d,"",354,"left",1,193,11)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now