Jump to content

Help Automate NaturalWord Install


chaitukch
 Share

Recommended Posts

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...