callmejon Posted February 9, 2012 Share Posted February 9, 2012 hi all im very new to AutoIT. a few questions 1. i know a bit python, is it possible to use python to do scripting and put out EXE file. i think there is somthing call autoitX 2. i try to auto run a few setup, in the small office one software called PDF SAM, i have try to capture via autoit recorder. however in its last 2nd step after the install all the files. i think the it hit the ALT+ N too quickly before it appears. therefore i got stuck on the next window and once i click on "next". Autoit will auto click on finish for me any ideas? thankspdfsam1.au3 Link to comment Share on other sites More sharing options...
callmejon Posted February 9, 2012 Author Share Posted February 9, 2012 pdf sam i have it here http://dl.dropbox.com/u/25830953/setup.exe Link to comment Share on other sites More sharing options...
callmejon Posted February 9, 2012 Author Share Posted February 9, 2012 i have added sleep 4 sec seems to do the trick...however i been told its not best practice as different have different performanceany other ideas?thanks Run('Setup.exe')_WinWaitActivate("Installer Language","Please select the la")Send("{ENTER}")_WinWaitActivate("pdfsam Setup","")Send("{ALTDOWN}n{ALTUP}")_WinWaitActivate("pdfsam Setup","")Send("{ALTDOWN}a{ALTUP}")_WinWaitActivate("pdfsam Setup","")Send("{ALTDOWN}a{ALTUP}{ALTDOWN}n{ALTUP}")_WinWaitActivate("pdfsam Setup ","")Send("{ALTDOWN}n{ALTUP}{ALTDOWN}i{ALTUP}")sleep(4000)_WinWaitActivate("pdfsam Setup","")Send("{ALTDOWN}n{ALTUP}")_WinWaitActivate("pdfsam Setup","")Send("{ALTDOWN}f{ALTUP}") Link to comment Share on other sites More sharing options...
agreiner Posted February 9, 2012 Share Posted February 9, 2012 PDF SAM includes a silent install option, although it is not completely silent. Run(@comspec & "/c c:pathtoinstallersetup.exe /S") _WinWaitActivate("Installer Language","Please select the la") Send("{ENTER}") Link to comment Share on other sites More sharing options...
callmejon Posted February 9, 2012 Author Share Posted February 9, 2012 thanks agreiner, for this. just a thought, if there is no slient install option for the next software i find. is there a different option than sleep() ? thanks 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