Help - Search - Members - Calendar
Full Version: Screen Print 32 autoit
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
PX_Darkness
Im attempting to create an autoit script for Screen Print 32. This is what i have so far:

CODE
Run("setup.exe")
WinWaitActive("Install")
WinWaitActive("ScreenPrint32 v3.5 Setup", "Setup cannot install")
Send("{ENTER}")
WinWaitActive("ScreenPrint32 v3.5 Setup", "Click this button")
Send("{ENTER}")
WinWaitActive("ScreenPrint32 v3.5 - Choose Program Group")
Send("!c")
WinWaitActive("ScreenPrint32 v3.5 Setup", "was completed successfully")
Send("{ENTER}")


exe for Screen Print 32 can be found here:

http://www.download.com/Screen-Print-Captu...tml?tag=lst-0-1

So I compile the script and run it. It will run the correct exe file but then it doesnt do anything else. It wont continue with the script. Ive double checked all of my active window titles and they all seem to be correct.

Any ideas?

Thanks for your help
benners
The text you have for the dialogs was wrong, even though the text is there AutoIt cannot see it.

CODE
Run("setup.exe")
WinWaitActive("ScreenPrint32 v3.5 Setup", "E&xit Setup")
Send("{ENTER}")
WinWaitActive("ScreenPrint32 v3.5 Setup", "&Change Directory")
Send("{ENTER}")
WinWaitActive("ScreenPrint32 v3.5 - Choose Program Group", "&Continue")
Send("!c")
WinWaitActive("ScreenPrint32 v3.5 Setup", "was completed successfully")
Send("{ENTER}")

this worked for me but you will get additional windows if there are any version conflicts with dll or ocx files, if this happens the install will hang waiting for the next window.

Basically I would repack this app, I think the vbruntime files are included with SP2 so not all the files will be needed or use WinSnap
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.