svortevik Posted June 7, 2005 Posted June 7, 2005 I see there is lots of autoIT scripts on this forum. Is there anything I have to do with the script I download so they will work?
<SparTacuS> Posted June 7, 2005 Posted June 7, 2005 1)Download AutoIt from HERE and install.2)Use Editor of your choice (Notepad will do) to check out the script - you may have to customise it slightly for source directories etc.3) Compile the script into an exe using AutoIt's compile utility - the exe is standalone, the PC running it does NOT need AutiIt.It's now ready to use.
svortevik Posted June 7, 2005 Author Posted June 7, 2005 I have now made an .exe file from the scrip. Is there any command I have to use to make it "silent"? When I start the script it wil start the instaler, but I stil have to press next and so on..This is the script I`m trying to run for my autoit file. $Title_1 = "autoit-v3-setup.exe"Run ( "autoit-v3-setup.exe" );Welcome ScreenWinWaitActive( $Title_1 , "Welcome")Send ("{ENTER}");License ScreenWinWaitActive( $Title_1 , "License")Send ("{ENTER}");Install PathWinWaitActive( $Title_1 , "Choose")Send (@homedrive & "\xp\util\AutoIt\")Send ("{ENTER}");FinishWinWaitActive( $Title_1 , "Completing")Send ("{SPACE}")Send ("{ENTER}")I have a question about the "install Path" too. In this script, will it install autoit in programfiles, or in a spesific folder?
<SparTacuS> Posted June 7, 2005 Posted June 7, 2005 See if this helps;Run ( "autoit-v3-setup.exe" ) - Executes the given *.exe, if not in same director you need to give full path;Welcome ScreenWinWaitActive( $Title_1 , "Welcome") - Waits for screen with title "$Title_1" to get focus ($Title_1 is variable set earlier in script) Window contains "Welcome" as textSend ("{ENTER}") - sends equivalent of "enter" keypress to window;License ScreenWinWaitActive( $Title_1 , "License") - Waits for screen with title "$Title_1" to get focus ($Title_1 is variable set earlier in script) Window contains "License" as textSend ("{ENTER}") - sends equivalent of "enter" keypress to window;Install PathWinWaitActive( $Title_1 , "Choose") - Waits for screen with title "$Title_1" to get focus ($Title_1 is variable set earlier in script) Window contains "Choose" as textSend (@homedrive & "\xp\util\AutoIt\") - sends input to window for install path. @homedrive is a Windows System Variable that refers to the drive where Windows is installed.Send ("{ENTER}") - sends equivalent of "enter" keypress to window;FinishWinWaitActive( $Title_1 , "Completing") - Waits for screen with title "$Title_1" to get focus ($Title_1 is variable set earlier in script) Window contains "Completing" as textSend ("{SPACE}") - sends equivalent of "spacebar" keypress to windowSend ("{ENTER}") - sends equivalent of "enter" keypress to window
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