Sign in to follow this  
Followers 0
civilcalc

Is it possible............?

11 posts in this topic

Hi, is it possible to find out the control name of the control at a certain position on the screen?

The controls are always in the same place, but the control name varies on different windows.

I want to retrieve the text from the cotrol that is always at the same co-ords

Thanks in advance

Share this post


Link to post
Share on other sites



can someone please try and help me with this, is beginning to do my head in, cannot think of a way to do it

Share this post


Link to post
Share on other sites

need more information here. if you want help

what control kind of control

program or internet

do you have any autoit script yet

did you use the help files to search for "control"

are you using beta version

????????????????????//

maybe you could use a couple of lessons in autoit

this might be a good place to start

http://www.autoitscript.com/forum/index.php?showtopic=21048#

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

sorry, im still fairly new to all this.

im not sure what type of control it is,

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<

Size: X: 433 Y: 83 W: 55 H: 16

Control ID: 985920

ClassNameNN: WindowsForms10.STATIC.app389

Text: 3.35

the value 3.35 is what i want to extract

but the control is never the same, but always in the same place on the page

it doesnt change unless i move to a different page, in which case the value changes, the id changes, but it still at the same co-ordinates

Share this post


Link to post
Share on other sites

that only answers one of the questions above

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

It sounds like you may need an If statement of some sort.

1) How many different pages are there?

2) Do the ControlID's change at different times, or are they always the same each page?

Thanks,

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

It sounds like you may need an If statement of some sort.

1) How many different pages are there?

2) Do the ControlID's change at different times, or are they always the same each page?

Thanks,

JS

ok i dont know what kind of control it is, its a program, and there are literally hundreds of pages, but the control id remains the same while that page exists, i can set the script to obtain these manually by me inputting the id manually, but want to know if there is a way of obtaing the control id under the mouse, that way i can move the mouse to the co-ord and obtain the control id from under the mouse

Share this post


Link to post
Share on other sites

ok i dont know what kind of control it is, its a program, and there are literally hundreds of pages, but the control id remains the same while that page exists, i can set the script to obtain these manually by me inputting the id manually, but want to know if there is a way of obtaing the control id under the mouse, that way i can move the mouse to the co-ord and obtain the control id from under the mouse

if i remember correctly, someone (maybe lxp?) made a UDF a while back, ControlGetHandleByPOS() or something...

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Thankyou very much

np, always glad to help

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

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  
Followers 0