Jump to content
VictorBarajas

Problem to perform a right click using ControlClick Filezilla

Recommended Posts

VictorBarajas

Good afternoon, I'm new to Autoit and I'm automating a download through the filezilla client, the connection type is sftp. Because of this I need to make a right click on the x / y coordinate of a control in the filezilla application. I am using the ControlClick command but I only manage to do a simple click. Sorry for the translation but English is not my native language.

(my line code)----------------

ControlClick("sftp://user@ip:port - FileZilla","","[CLASS:SysTreeView32; INSTANCE:2]","right",1,109,46)

(window info)-------------

>>>> Window <<<<
Title:    sftp://user@ip:port - FileZilla
Class:    wxWindowNR
Position:    0, 0
Size:    800, 860
Style:    0x16CF0000
ExStyle:    0x00000100
Handle:    0x000B09A2

>>>> Control <<<<
Class:    SysTreeView32
Instance:    2
ClassnameNN:    SysTreeView322
Name:    
Advanced (Class):    [CLASS:SysTreeView32; INSTANCE:2]
ID:    
Text:    
Position:    398, 199
Size:    384, 144
ControlClick Coords:    109, 46
Style:    0x5201082F
ExStyle:    0x00010000
Handle:    0x000E084E

>>>> Mouse <<<<
Position:    515, 295
Cursor ID:    0
Color:    0xF0F0F0

 

 

what i want.png

what i get.PNG

Share this post


Link to post
Share on other sites
VictorBarajas
1 minute ago, VictorBarajas said:

What i want to do

what i want.png

And this is What i get

what i get.PNG

 

Share this post


Link to post
Share on other sites
j0kky

3 questions:

Have you swapped your click buttons?

Have you activate the window through WinActivate?

Before ControlClick command, what is the state of that control?

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

×