Jump to content

nealus

Members
  • Posts

    2
  • Joined

  • Last visited

nealus's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Sorry guys - think I found the issue. I was using 'RunWait' (hence the pause status in my script) when I should be using 'Run' I've made the change and now my script is progressing.
  2. Hi all, I am quite new to AutoIT but can see its potential for me as I am undertaking a project to package up several older applications for deployment across a Windows 7 estate. The problem I am having related to an AutoIT script I have created which runs after a reboot via the HKLM Run registry key (i tried RunOnce but the script ran too early - i've added a remove registry entry toward the end of the current script to remove the registry entry from Run) From a batch script I silently install an application and request a reboot. The application opens and has some registration options that can't be removed from the silent install which I would like AutoIT to process which includes an activation over the internet (accounting for the 8 second delay) Following reboot, this script runs : Sleep(5000) RunWait("C:\Program Files\ZoomText 10\ZT.exe") WinActivate("ZoomText Activation") Sleep(500) WinWaitActive("ZoomText Activation") Send("{ENTER}") ;wait for 1 second Sleep(1000) WinWait("ZoomText Activation") Send("{ENTER}") ;wait for eight seconds until internet activation can complete Sleep(8000) WinWait("ZoomText Activation") ;Send("{TAB}") ;Sleep(1000) Send("{DOWN}") Send("{DOWN}") ;Send("{SPACE}") Send("{TAB}") Send("{Enter}") Sleep(1000) RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "ZoomText") No matter what changes I make, including adding various sleep options and using the WinWait, WinWaitActive and WinExist options, the required window is not detected and subsequently the required keystrokes are not sent. The script goes into pause mode as if expecting the window, but not finding it Does anyone have any pointers or tips on the incorrect syntax, commands, etc that I am using?? Neal
×
×
  • Create New...