chaitukch Posted September 23, 2007 Share Posted September 23, 2007 Hi, I was trying to automate the installation of Natural Word a addin for MS Word. But the script doesnt help me do it. Can some one help me with it. My code is as below RunWait("NaturalWordSetup.exe") ;WinWaitActive("Setup", 3) WinWaitActive("Software Theories Natural Word Setup", "The following components will be installed on your machine:", "Do You Wish To Install These Components") send("!i") I also tried adding this line but it doesnt work. ControlClick("Software Theories Natural Word Setup", "", "Button3") Please help me with this Home page of the software http://www.softwaretheories.com/NaturalWord/index.html Direct link for download of the software http://www.softwaretheories.com/NaturalWord/Download/NaturalWord_0_9_5.zip Link to comment Share on other sites More sharing options...
Nahuel Posted September 23, 2007 Share Posted September 23, 2007 I also tried adding this line but it doesnt work. ControlClick("Software Theories Natural Word Setup", "", "Button3") Did you try using the ControlID instead of the classname? Or maybe the name of the control. Something like: ControlClick("Software Theories Natural Word Setup", "","&Next >") This scrtip works perfectly in my computer: Run("NaturalWordSetup.exe") WinWaitActive("Software Theories Natural Word Setup") ControlClick("Software Theories Natural Word Setup","","&Accept") WinWaitActive("Software Theories Natural Word Setup") ControlClick("Software Theories Natural Word Setup","","&Install") Always remember to use the AutoIt Window Info tool. It's very useful. 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