Jump to content

First-timer needs a hand


Recommended Posts

Hello,

I'm trying to automate a data entry process at my office. Every once in a while we receive an excel sheet with a bunch of records that need to be updated in our database.

Having never used AutoIt before I was hoping someone here can help me get started. My first problem lies in the fact that the window I want to detect lies within another window. Here is a pic:

Posted Image

The main window, and the window detected by the Window Info tool, is titled "Research Database". The window I want to detect is the "Main Search Screen".

How do I go about detecting it? The information seen in the picture above shows the window info information while my mouse and cursor are over the "Selection Criteria" search box.

The only place I see the window I'm after is in the "Visible Text" section. Is that I would use?

Thanks in advace. I know this is a noob question but any help is appreciated.

Link to comment
Share on other sites

Hello,

I'm trying to automate a data entry process at my office. Every once in a while we receive an excel sheet with a bunch of records that need to be updated in our database.

Having never used AutoIt before I was hoping someone here can help me get started. My first problem lies in the fact that the window I want to detect lies within another window. Here is a pic:

The main window, and the window detected by the Window Info tool, is titled "Research Database". The window I want to detect is the "Main Search Screen".

How do I go about detecting it? The information seen in the picture above shows the window info information while my mouse and cursor are over the "Selection Criteria" search box.

The only place I see the window I'm after is in the "Visible Text" section. Is that I would use?

Thanks in advace. I know this is a noob question but any help is appreciated.

You should be fine with just title and text, for example:
WinActivate("Research Database", "Main Search Screen")
ControlSetText("Research Database", "Main Search Screen", "Edit1", "R2839")

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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...