Poilu Posted March 10, 2004 Share Posted March 10, 2004 I am a system administrator for an insurance agency. I have been playing with AutoIt now for a couple of weeks, and I love it. It has really helped me automate my PC installations. There is one thing I can't figure out how to do:We need to load a bunch of ActiveX controls in order to make our insurance management software to work. In order to load these, we load an .asp page that loads them for us. What I want to do is call the page, which will load the controls, and then have the script answer the Security Warning dialog boxes, and then finally close the page.What is currently happening is that I get the page - it starts installing the controls, and then a big fat nothing. The Security Warning dialog box is not answered. Maybe RunWait isn't the right command to start the page. What am I doing wrong?; start the .asp page that loads ActiveX controlsRunWait("C:\Program Files\Internet Explorer\iexplore.exe http://ntsagitta/sagitta/active/loadctls_outlook.asp")WinWaitActive("Security Warning","Asynchtree")Send("!a"); AlwaysSend("!y"); YesWinWaitActive("Security Warning","Microsoft Internet Transfer")Send("!a")Send("!y"); and so forth... Link to comment Share on other sites More sharing options...
Poilu Posted March 10, 2004 Author Share Posted March 10, 2004 Yep, Run works. Now . Now that Larry the genius tells to run it. Uh uh. Plain ol' dumb Run.I swear I tried to that before and it didn't work! 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