Jump to content
Sign in to follow this  

Very Basic and Simple Question from a Newbie!

Recommended Posts


I'm just starting with AutoIt... and I'm not a programmer. Please bare with me on my English... I'm French :huggles::-)

Here is what I want to do:

I have many active windows on my desktop, and I want to access an already open window to do a simple action (using my scanner).

First, I have to find the active window (scanner application), then:

1) Open File Menu (Alt-F)

2) Go to the Import function (Alt-M)

3) Go to the scanning function located in that sub-menu (Alt-N)

This opens up a new window where I have to make some other "clicking actions":

4) Add to existing document (Alt-A)

4) Press Enter (how do I do that?)

Another window opens up:

5) Press Alt-P (2 times) (?)

6) Press Enter (?)

That's it! It may be simple for you people "out there" who have programming experience, but I don't :D:-(

I spent part of the morning trying to make it work, but I give up!

But first I want to make sure the "right" window is active to make that script working (because I'm working on another window).

Any help will be appreciated.

Share this post

Link to post
Share on other sites

Thanks for your reply James,

But it doesn't quite answer my problem.

How do I tell AutoIt to activate a window in the background?

How can I use a set of keys to activate my script?

Thanks for clarifying this point.


Share this post

Link to post
Share on other sites


Have you tried searching the help file or even searching the forum? There has been a lot of posts for this kind of thing recently.

WinActivate() and HotKeySet() will be good for 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