Alright I've searched but can't find good documentation about using autoit to automate installs product ids etc...
any links would be great.
Page 1 of 1
Autoit Tutorial
#2
Posted 25 January 2005 - 01:03 AM
u should join the autoit forum
u will get a lot of information and help there.
unless u hv a good tuitor like i do. (wink wink) yeslogic
u will get a lot of information and help there.
unless u hv a good tuitor like i do. (wink wink) yeslogic
#3
Posted 25 January 2005 - 09:04 AM
look at some of the install scripts on the forum thats how i got going
thats basicly all there is to cover an autoit install
any can add anything shout me
run("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 on
thats basicly all there is to cover an autoit install
any can add anything shout me
#4
Posted 25 January 2005 - 06:24 PM
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.
#5
Posted 26 January 2005 - 12:33 AM
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.
(no switch)
That's all.
Share this topic:
Page 1 of 1



Help
Back to top









