palba Posted November 15, 2008 Share Posted November 15, 2008 Hi All, I'm trying to automate some task. I'd like to start a probram, click some checkbox and click a button to start a process. I've tried to write some code but nothing happen. There arent't errors but it doesn't do the job. here the code: Run("firei.exe") WinWaitActive("Fire-i") ControlClick("fire-i", "", "[CLASS:button; INSTANCE:6]") ControlClick("fire-i", "", "[CLASS:button; INSTANCE:10]") ControlClick("fire-i", "", "[CLASS:stati; INSTANCE:8]") Where's my fault? Many Thanks in advance and all the best Paul Link to comment Share on other sites More sharing options...
oMBRa Posted November 15, 2008 Share Posted November 15, 2008 u should use the entire path of the programm u want to run Link to comment Share on other sites More sharing options...
palba Posted November 15, 2008 Author Share Posted November 15, 2008 u should use the entire path of the programm u want to runHi Thank a lot!I never guess I had to write the entire path!I'm going to try!Thanks a lotPaul 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