HighPriest15 Posted December 22, 2006 Posted December 22, 2006 Hey guys, I am new to AutoIt and I just put together my first script. One (major) problem with it though. What I am trying to do is make a script that installs FLAC for me for nLite. It works on its own, but when I compile it to the exe and then run the it, it starts reopening itself... hundreds of times. Any help would be greatly appreciated.run ("flac113b.exe")WinWaitActive("FLAC Installer v1.1.3b · 12/1/2006")send ("{ENTER}") ;NeroBurningRomWinWaitActive("FLAC Installer v1.1.3b · 12/1/2006: License Agreement")send ("{ENTER}") ;LicenseAgreementWinWaitActive("FLAC Installer v1.1.3b · 12/1/2006: Installation Options")send("{TAB 3}") send("{Enter}") ;InstallOptionsWinWaitActive("FLAC Installer v1.1.3b · 12/1/2006")sleep(1000)send("{TAB 1}")send("{ENTER}") ;InstallingFileDelete (@DesktopDir & "\FLAC Frontend.lnk")DirRemove (@ProgramsDir & "\FLAC", 1)I probably need to space it out more...
Thatsgreat2345 Posted December 22, 2006 Posted December 22, 2006 check out controlsend/controlclick , and its not in a loop....
herewasplato Posted December 23, 2006 Posted December 23, 2006 ...when I compile it to the exe and then run the it, it starts reopening itself... hundreds of times...Did you name the compiled script flac113b.exe [size="1"][font="Arial"].[u].[/u][/font][/size]
HighPriest15 Posted December 23, 2006 Author Posted December 23, 2006 check out controlsend/controlclick , and its not in a loop....You're right, it isn't a loop sorry. I changed it to controlclick, much more efficient thank you. =)Did you name the compiled script flac113b.exe...I knew it would be obvious. Thank you so much for the help.
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