Jump to content
Sign in to follow this  
Valuater

Getting the Control ID

Recommended Posts

Valuater

I am trying... believe me i have tried, i dont ask to often because i can usually find most answers myself

( and the last time i asked a dumb question ..... well, ouch )

anyways

I have found class name with Lxp, Smoke_N, Cyberslugs and others, posts

WinControlListGUI()

Func _getClasses($title)

Func _CtrlGetByPos($hWin, $sText = '', $iXPos = 0, $iYPos = 0, $iReturnType = 0)

ect... ect

and i am speaking in terms of Autoits GUI controls

i found i can get the handle with controlgetHandle ( ControlID )

any way... help is appreciated, i may have just overlooked something

an array return woud be the best

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites
dandymcgee

Well, if you need the Control ID of a GUI why not just use AutoIt Window Info? I'm not quite sure how to do it without that except by loking at the GUI's script and getting it that way (the first control you create after GUICreate, is always 3, and then the following controls go 4, 5, 6 etc. in the order they are created by the script). Hope this helps?

EDIT: Smoke beat me :), listen to him he's smarter :P.

Edited by dandymcgee

- Dan [Website]

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.