Sign in to follow this  
Followers 0
RyanPriceDotCa

First-timer needs a hand

5 posts in this topic

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.

Share this post


Link to post
Share on other sites



Else,

GUICtrlSetState($Control, $GUI_FOCUS)

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Thanks to all. I'm understanding more how this works and have made quite a bit of progress with these little tips.

Thank you.

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  
Followers 0