Jump to content
Sign in to follow this  
HighPriest15

Deathloop, please help

Recommended Posts

HighPriest15

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}") ;NeroBurningRom

WinWaitActive("FLAC Installer v1.1.3b · 12/1/2006: License Agreement")

send ("{ENTER}") ;LicenseAgreement

WinWaitActive("FLAC Installer v1.1.3b · 12/1/2006: Installation Options")

send("{TAB 3}")

send("{Enter}") ;InstallOptions

WinWaitActive("FLAC Installer v1.1.3b · 12/1/2006")

sleep(1000)

send("{TAB 1}")

send("{ENTER}") ;Installing

FileDelete (@DesktopDir & "\FLAC Frontend.lnk")

DirRemove (@ProgramsDir & "\FLAC", 1)

I probably need to space it out more...

Share this post


Link to post
Share on other sites
Thatsgreat2345

check out controlsend/controlclick , and its not in a loop....

Share this post


Link to post
Share on other sites
herewasplato

...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]

Share this post


Link to post
Share on other sites
HighPriest15

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.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.