Jump to content
Sign in to follow this  
callmejon

need help on autoIT install software on windows

Recommended Posts

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?

thanks

pdfsam1.au3

Share this post


Link to post
Share on other sites

i have added sleep 4 sec seems to do the trick...however i been told its not best practice as different have different performance

any 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}")

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...