andra1 Posted November 1, 2014 Share Posted November 1, 2014 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 Link to comment Share on other sites More sharing options...
JohnOne Posted November 1, 2014 Share Posted November 1, 2014 Please post formatted code. There's a code button in the posting box. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
andra1 Posted November 1, 2014 Author Share Posted November 1, 2014 (edited) 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 November 1, 2014 by andra1 Link to comment Share on other sites More sharing options...
andra1 Posted November 1, 2014 Author Share Posted November 1, 2014 No one can help a starter?ok.thx anyway. I'll do something else...but don't forget to give and it shall be given... Link to comment Share on other sites More sharing options...
Developers Jos Posted November 1, 2014 Developers Share Posted November 1, 2014 Are we a little impatient? Please don't bump a thread within 24 hours. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
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