Jump to content
Sign in to follow this  
andra1

understanding mouseclick

Recommended Posts

Hello to all, Nice to meet you here. Somebody built me a autoit script to run privazer automatically. I was surprised about it, so I decided 2 weeks ago to learn myself about autoit and do more scripts. I've started with study his script, and also use autoit help. I am blocked at the following rows: Local $aPos = WinGetPos($Finish) MouseClick("left", $aPos[0] + 40 , $aPos[1] + 30, 1) Can anyone tell me how was calculated 40 and 30 values? From autoit windows info doesn't result that x,y values: Title: Class: TForm4 Position: 110, 89 Size: 804, 590 Style: 0x16C00000 ExStyle: 0x00000180 Handle: 0x000101C4 >>>> Control <<<< Class: TPopupButton Instance: 1 ClassnameNN: TPopupButton1 Name: Advanced (Class): [CLASS:TPopupButton; INSTANCE:1] ID: 66300 Text: Position: 382, 375 Size: 135, 42 ControlClick Coords: 59, 20 Style: 0x54010000 ExStyle: 0x00000000 Handle: 0x000102FC >>>> Mouse <<<< Position: 554, 507 Cursor ID: 0 Color: 0x6798C2 Thank you

Share this post


Link to post
Share on other sites

Sorry for my mistake. I'll try to post again:

 

Hello to all,
Nice to meet you here. Somebody built me a autoit script to run privazer automatically.
 I was surprised about it, so I decided 2 weeks ago to learn myself about autoit and do more scripts. I've started with study his script, and also use autoit help.
I am blocked at the following rows:

 Local $aPos = WinGetPos($Finish)

MouseClick("left", $aPos[0] + 40 , $aPos[1] + 30, 1)

Can anyone tell me how was calculated 40 and 30 values?
From autoit windows info doesn't result that x,y values:

>>>> Window <<<<
Title:    
Class:    TForm4
Position:    110, 89
Size:    804, 590
Style:    0x16C00000
ExStyle:    0x00000180
Handle:    0x00040158

>>>> Control <<<<
Class:    TPopupButton
Instance:    1
ClassnameNN:    TPopupButton1
Name:    
Advanced (Class):    [CLASS:TPopupButton; INSTANCE:1]
ID:    66216
Text:    
Position:    382, 375
Size:    135, 42
ControlClick Coords:    35, 15
Style:    0x54010000
ExStyle:    0x00000000
Handle:    0x000102A8

>>>> Mouse <<<<
Position:    530, 502
Cursor ID:    0
Color:    0x4E94D1
 

Thank you

Edited by andra1

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  

×
×
  • Create New...