Jump to content
Sign in to follow this  

send does not always work?

Recommended Posts


#cs ----------------------------------------------------------------------------

AutoIt Version:

Author: myName

Script Function:

Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here



MouseClick("left", 245, 146)

MouseClick("left", 880, 620)

MouseClick("left", 600, 330)

MouseMove(600, 330)

MouseMove(600, 330)

MouseMove(600, 330)

If I insert a send cmd after the run it does not always work.

The script is located in the same folder as the eclipse4.exe program

the 'name' of the windows box is eclipse v4 and the send syntax is as follows:

send ("eclipse4.exe","iclicl1")

Ths aim of this code is to put the passwd into the active window ?

Anyone got any ideas?

Rgds eddie george

Share this post

Link to post
Share on other sites

Two things:

1. Your Send() probably gets executed before the window exist, try using WinWaitActive() and perhaps a small Sleep().

2. That's not the right syntax for Send(), check the helpfile.

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.