Jump to content
Sign in to follow this  

problem with handle changing

Recommended Posts



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 ****
#EndRegion;**** Directives created by AutoIt3Wrapper_GUI ****
Opt ("WinTitleMatchMode",2)

$d=WinGetHandle ("Avaya IP Softphone")
if $part1="Hang" Then
    ControlClick ($d,"",1018,"left",1,33,10)

ControlSend ($d,"",32795,$part1)
ControlClick ($d,"",354,"left",1,193,11)

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.