Jump to content

Control Text


Kerberuz
 Share

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

Link to comment
Share on other sites

  • Developers

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...