Jump to content

reading values of a window


 Share

Recommended Posts

hello everyone,

i'm trying to command a programm to click on a certain thing in my client window.

It can easily be done with "mouseclick" option.

All though this has one big downside: it won't work on every computer as coordinates differ by resolution.

So my question is: how can i let autoit "read" a word and click on it.

Example:

I got a client opened, and the program should click on the "file" tab.

Any ideas? hope you can help me out thanks.

Link to comment
Share on other sites

  • Developers

You are not specific enough to answer your question.

What are you trying to automate?

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

i got this client (an open window) for my work. Everytime i start it up i need do do several stuff over and over again (for example: i need to open like 9-10 files all the time). I thought it would be very helpfull for me (and my coworker) if autoit could do this while my pc is starting up.

So:

The bot should read & click on "file" (you also got this tab in excel and other programs) and then select "open". But without using the "mouseclick" function?

I hope this clears things up.

Link to comment
Share on other sites

  • Developers

i hope this clears things up.

 

Not really as there is nothing which is exact in your request. Use au3info to check what information/controls are available on the applications you talk about.

Jos

Edited by 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

nothing exact? please explain the part which is not clear to you:

i'll simplify it even more for you.

You got an excel window, with all sorts of tabs "file", "design",...

I want autoit to click on the tab "file".

how do i let it execute such a command?

Edited by stefan654
Link to comment
Share on other sites

  • Developers

nothing exact? please explain the part which is not clear to you:

i'll simplify it even more for you.

No need to feel not taken serious or under attack.

The reason I am asking exact details is that there are too many option available to give an answer without knowing which program you are trying to automate.

MouseClick() should really be your last resort function. First look at all ControlXXXX() command in case you can see the info of the controls you like to act upon...hence my comment to use au3info.

When it is about excel sheets, there could even be an option to use the Excel UDF's..

Understand?

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

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