eng1 Posted July 9, 2008 Share Posted July 9, 2008 #cs ---------------------------------------------------------------------------- AutoIt Version: 3.2.12.1 Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here Run("eclipse4.exe") sleep(19000) 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 Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted July 9, 2008 Share Posted July 9, 2008 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. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now