Sign in to follow this  
Followers 0
HighPriest15

Deathloop, please help

4 posts in this topic

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



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

Share this post


Link to post
Share on other sites

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

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  
Followers 0