Jump to content

nittany

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by nittany

  1. Alex, Yes the following code is meant to select "Close" CODEWinWait("Microsoft Office Enterprise 2007","NUIDocumentWindow") Send("{TAB}") send("{ENTER}") I believe the window is not active, therefore not reading the script to "Close" It won't work when I use CODESend("!c") either.
  2. I am very new to AutoIT and I am trying to automate the installation of Microsoft products such as Office 2007, Project 2007, and Visio 2007. My script works all the way to the end where it prompts you to go to Microsoft Office Updates or to Close. I cannot get it to do either. Any suggestions... Here is my script: Run('C:\Documents and Settings\ist\Desktop\Office 2007 Enterprise\setup.exe') WinWait("Microsoft Office Enterprise 2007","NUIDocumentWindow") If Not WinActive("Microsoft Office Enterprise 2007","NUIDocumentWindow") Then WinActivate("Microsoft Office Enterprise 2007","NUIDocumentWindow") WinWaitActive("Microsoft Office Enterprise 2007","NUIDocumentWindow") Send("wqjhb4txwqj2q27ftkp62hqq8") send("{ENTER}") WinWaitActive("Microsoft Office Enterprise 2007","NUIDocumentWindow") send("{SPACE}") send("{ENTER}") WinWaitActive("Microsoft Office Enterprise 2007","NUIDocumentWindow") send("{ENTER}") WinWait("Microsoft Office Enterprise 2007","NUIDocumentWindow") Send("{TAB}") send("{ENTER}") Thanks in advance!!!
×
×
  • Create New...