Jump to content
Sign in to follow this  
Kerberuz

Control Text

Recommended Posts

Hey first post here. My question is how would I get the active control text without providing the controlID.

I understand how to get the text using ControlGetText using the controlID, but in the situation I'm using the controlID can be different. So my objective is to get the active controlID or text. Once I know the controlID or the text of the control I'll be fine.

Thanks in advance

Kerby


Kerby

Share this post


Link to post
Share on other sites

Hey first post here. My question is how would I get the active control text without providing the controlID.

I understand how to get the text using ControlGetText using the controlID, but in the situation I'm using the controlID can be different. So my objective is to get the active controlID or text. Once I know the controlID or the text of the control I'll be fine.

Thanks in advance

Kerby

<{POST_SNAPBACK}>

If you mean the control that has the focus then check out:

ControlGetFocus ( "title" [, "text"] )
Edited by JdeB

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.
  :)

Share this post


Link to post
Share on other sites

If you mean the control that has the focus then check out:

ControlGetFocus ( "title" [, "text"] )

<{POST_SNAPBACK}>

Thanks, I don't know how I missed it. :lmao:

Kerby


Kerby

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...