solohelp Posted January 25, 2005 Share Posted January 25, 2005 Alright I've searched but can't find good documentation about using autoit to automate installs product ids etc...any links would be great. Link to comment Share on other sites More sharing options...
Astalavista Posted January 25, 2005 Share Posted January 25, 2005 u should join the autoit forumu will get a lot of information and help there.unless u hv a good tuitor like i do. (wink wink) yeslogic Link to comment Share on other sites More sharing options...
ev0_05 Posted January 25, 2005 Share Posted January 25, 2005 look at some of the install scripts on the forum thats how i got goingrun("C:\Program Files\Internet Explorer\IEXPLORE.EXE") ;The Program To run from the autoit script ;the example being internet explorer ;you can change this to ur program installer;----------------------------------------------------------------------------Winwaitactive("Welcome to MSN.co.uk - Microsoft Internet Explorer") ;Waits till the windows active before proceeding to next step ;the way to find if widow is active is by the title bar on the page;----------------------------------------------------------------------------Controlclick("Welcome to MSN.co.uk - Microsoft Internet Explorer", "" , "Edit1") ;Clicks a control on the active widow ;control being a textbox, command button, and other controls ;This clicks the adressbar on the control pannel ;if i wanted to make it click the home button i would change it to ;Controlclick("Welcome to MSN.co.uk - Microsoft Internet Explorer", "" , "ToolbarWindow324") ;then that would click the home button on the iexplorer toolbar;------------------------------------------------------------------------------Send("http://www.msfn.org/board{Enter}") ;send sends keys to the inputbox ;this will input things into an input box I.e for serial number etc: ;in this example i'm using Iexplorer adresss bar ;and the presses enter;-------------------------------------------------------------------------------;Run("Programname");WinWaitActive ( "title", ["text"], [timeout] ;text optional, timeout optional. Taken for help file ;controlclick("Title" , "Text" , "control");u can use the autoit window spy that comeswith autoit to find the control;Send("TEXTTOSEND");send("{keytosend}");Send("TextToSend{KeyToPress]");Refer to help file for keys;Sleep(Time);function to pause the script for x Amount of time;250 = quarter of a second;500 = half of a second;1000 = second;and so onthats basicly all there is to cover an autoit installany can add anything shout me Link to comment Share on other sites More sharing options...
Swimming_Bird Posted January 26, 2005 Share Posted January 26, 2005 my issue is i'm not sure what to do once i have the scipt, i admitedly dont know how to make t he scripts myself but have been able to assemble all the scripts i need between the ones made availible on this forum and ones i have used a script generator for. Link to comment Share on other sites More sharing options...
mana Posted January 26, 2005 Share Posted January 26, 2005 When you got your Autoit script, you launch Aut2Exe to convert your *.au3 file into an executable (.exe). Then, you do the usual : start %wait .... \convertedau3file.exe(no switch)That's all. Link to comment Share on other sites More sharing options...
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